Giter VIP home page Giter VIP logo

Comments (12)

deeplearn-art avatar deeplearn-art commented on September 7, 2024

Try adding
!pip install imageio==2.4.1
before installing lucidsonicdreams

However there will be more errors...

from lucid-sonic-dreams.

devalladares avatar devalladares commented on September 7, 2024

@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!

Screen Shot 2022-10-17 at 4 54 21 PM

from lucid-sonic-dreams.

deeplearn-art avatar deeplearn-art commented on September 7, 2024

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.

rwconsultancy avatar rwconsultancy commented on September 7, 2024

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:

opera_JwttwdkQjW

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.

udiallo avatar udiallo commented on September 7, 2024

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.

rwconsultancy avatar rwconsultancy commented on September 7, 2024

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.

udiallo avatar udiallo commented on September 7, 2024

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.

rwconsultancy avatar rwconsultancy commented on September 7, 2024

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.

deeplearn-art avatar deeplearn-art commented on September 7, 2024

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.

cnatic avatar cnatic commented on September 7, 2024

would also love to see this run again.

from lucid-sonic-dreams.

udiallo avatar udiallo commented on September 7, 2024

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.

rwconsultancy avatar rwconsultancy commented on September 7, 2024

from lucid-sonic-dreams.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.