We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running on Colab Pro. Below error occurs: AttributeError: module 'keras.backend' has no attribute 'is_tensor' Any idea how to fix?
!(python main.py -t --base configs/stable-diffusion/pokemon.yaml --gpus "$gpu_list" --scale_lr False --num_nodes 1 --check_val_every_n_epoch 10 --finetune_from "$ckpt_path" data.params.batch_size="$BATCH_SIZE" lightning.trainer.accumulate_grad_batches="$ACCUMULATE_BATCHES" data.params.validation.params.n_gpus="$NUM_GPUS" ) Thanks.
The text was updated successfully, but these errors were encountered:
Getting the same issue. Also on Colab Pro.
Manually importing tf and keras didn't seem to help, neither did upgrading keras with pip.
Sorry, something went wrong.
same here!
Did you have solved it?
I had the same issue with a Stable Diffusion upscaler. The solution there was replace !pip install einops==0.3.0 with !pip install einops==0.3.2
!pip install einops==0.3.0
!pip install einops==0.3.2
Thanks @aduchon. Your solution works!
No branches or pull requests
When running on Colab Pro.
Below error occurs:
AttributeError: module 'keras.backend' has no attribute 'is_tensor'
Any idea how to fix?
Run training
!(python main.py
-t
--base configs/stable-diffusion/pokemon.yaml
--gpus "$gpu_list"
--scale_lr False
--num_nodes 1
--check_val_every_n_epoch 10
--finetune_from "$ckpt_path"
data.params.batch_size="$BATCH_SIZE"
lightning.trainer.accumulate_grad_batches="$ACCUMULATE_BATCHES"
data.params.validation.params.n_gpus="$NUM_GPUS"
)
Thanks.
The text was updated successfully, but these errors were encountered: