Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

[BUG] Custom Training Fails at Installing DDSP #52

Open
jackharbo opened this issue Dec 8, 2023 · 2 comments
Open

[BUG] Custom Training Fails at Installing DDSP #52

jackharbo opened this issue Dec 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jackharbo
Copy link

Describe the bug

Every time I try to train a new model, colab throws an error at the "Installing DDSP..." phase. After taking 5-10 minutes, it'll give me this error (full screenshot below):
ImportError: cannot import name 'dtensor_api' from 'keras.dtensor' (/usr/local/lib/python3.10/dist-packages/keras/dtensor/init.py)

System Info

  • Using a Windows 10 PC with a GeForce RTX 2070, i9-9900KF, and 32GB of RAM, though I also tried on a Mac, which produced the same result.

To Reproduce

1 - start colab notebook
2 - log in to google drive and choose folder

Screenshots

647b43bb21c7e376e912a2dabe9ebfc2

@jackharbo jackharbo added the bug Something isn't working label Dec 8, 2023
@yk7244
Copy link

yk7244 commented Jan 5, 2024

Try before running the code

!pip uninstall -y keras tensorflow tensorflow-probability absl-py astunparse flatbuffers gast google-pasta grpcio h5py keras keras-preprocessing libclang numpy opt-einsum protobuf setuptools six tensorboard tensorflow-io-gcs-filesystem termcolor tf-estimator-nightly typing-extensions wrapt
!pip install --disable-pip-version-check --no-cache-dir tensorflow==2.11.0
!pip install tensorflow-probability==0.15.0
!pip install keras==2.11.0

@hyp3rs3a
Copy link

hyp3rs3a commented Jul 1, 2024

I was having the same issue as user jackharbo and so I tried running the above before the code and now I'm just getting this:
Screenshot 2024-07-01 at 18 11 43

what do I do now?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants