Comments (12)
Try adding
!pip install imageio==2.4.1
before installing lucidsonicdreams
However there will be more errors...
from lucid-sonic-dreams.
@deeplearn-art thank you so much!! While it processed that stage, when I went to the next step to process the video, I got another error that also seems sound related —
Setting up TensorFlow plugin "fused_bias_act.cu": Failed!
WARNING:py.warnings:/usr/local/lib/python3.7/dist-packages/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead.
warnings.warn("PySoundFile failed. Trying audioread instead.")
Preparing audio...
WARNING:py.warnings:/usr/local/lib/python3.7/dist-packages/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead.
warnings.warn("PySoundFile failed. Trying audioread instead.")
Do let me know if you have an idea how to go about this thank you so much!
from lucid-sonic-dreams.
Yes, that issue has been reported before. It used to happen in local installation but not in colab.
Unfortunately there is no obvious fix, I think the packages have changed and no one has saved a working configuration.
The Deep Music Visualizer still works though
https://colab.research.google.com/github/Ease78/Deep-Music-Visualizer-Google-Colab/blob/master/DeepMusicVisualizer.ipynb
from lucid-sonic-dreams.
I managed to get past the above problem, including the audioread one that the OP mentions, by using this sequence:
! pip install moviepy
! pip3 install imageio==2.4.1
! pip install --upgrade imageio-ffmpeg
! pip install lucidsonicdreams
from google.colab import files
from lucidsonicdreams import LucidSonicDream
I can't claim any credit for it though; I just found it on in a dark corner of Reddit.
That held for a little while but then, about 2 weeks ago, something else changed in the Colab environment and I started getting a brand new error:
Interestingly, if I follow the instructions to use the BigGan function, instead of using a StyleGan style, it still works - but I'd really like use StyleGan again if at all possible.
from lucid-sonic-dreams.
I have also tried to get the package running again in the last few days but also failed because of the assertion error.
Can you explain how you used the BigGan variant or where to find info about it?
from lucid-sonic-dreams.
It's here, down at the bottom:
https://colab.research.google.com/drive/1Y5i50xSFIuN3V4Md8TB30_GOAtts7RQD
What I found is that running the BigGan code there results in an error that demands you restart the runtime. You then have to run everything from the top (ie from '! pip install moviepy 'in the snippet I posted above, and then the BigGan stuff), all over again and then it's happy.
from lucid-sonic-dreams.
Okay, so I had a No GPU available
at first, but after changing the runtime type to GPU it worked. Thank you.
Anyways, I would really like to get the StyleGan back to work. It should be possible to include the StyleGan model in the same way as the BigGan model, or even using some different StyleGan version, such as this pytorch StyleGan. Any opinions on these ideas?
from lucid-sonic-dreams.
I really don't enough about this stuff to comment unfortunately. One big question though is: what changed in Colab to suddenly break this? I followed some instructions to downgrade the Python version to see if that would undo the change but, when all it did was open other big can of errors, I abandoned that line of enquiry. Any clever people out there with any ideas?
from lucid-sonic-dreams.
I really don't enough about this stuff to comment unfortunately. One big question though is: what changed in >Colab to suddenly break this?
The required packages are listed in setup.py, I think it likely that one or more have been updated by Colab and because of that, the notebook is broken.
To avoid this, it is customary to specify working version of the modules, but apart from tensorflow==1.15 this has not been done.
If someone has this working locally, maybe they might know the correct version numbers.
from lucid-sonic-dreams.
would also love to see this run again.
from lucid-sonic-dreams.
Unfortunately, I also have no GPU locally with which I could try to find the broken packages. I heard it is also possible to use Google VM's for free (to a certain extend). Does anybody have experiences with Lucid Sonic Dreams on a Google VM? Maybe it is worth trying it to at least find the broken packages and fix them on Colab then.
from lucid-sonic-dreams.
from lucid-sonic-dreams.
Related Issues (20)
- OSError: cannot load library HOT 1
- Cannot assign a device for operation HOT 3
- where to place .pkl model files? HOT 1
- TensorFlow pickle version too low HOT 1
- OSError: [WinError 126] The specified module could not be found
- No module named dnnlib.tflib HOT 2
- Please add StyleGan3 support HOT 3
- No module named 'torch_utils' HOT 2
- index out of bounds
- ModuleNotFoundError: No module named 'lucidsonicdreams' HOT 4
- Real time support
- Incompatible python versions
- Fix for broken Deps possibly? Please advise! LSD colab is BROKEN! Thanks! HOT 1
- No such file or directory: 'requires.txt' HOT 3
- LSD on Replicate HOT 2
- need requirements versions HOT 2
- python setup.py egg_info did not run successfully HOT 10
- Setting up PyTorch plugin "bias_act_plugin"... Failed! Setting up PyTorch plugin "upfirdn2d_plugin"... Failed! HOT 1
- Project fails to install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucid-sonic-dreams.