Giter VIP home page Giter VIP logo

Comments (5)

Javi-Python avatar Javi-Python commented on September 7, 2024

I'm having the same error :(

from lucid-sonic-dreams.

Gresliebear avatar Gresliebear commented on September 7, 2024

What packages have you installed?

from lucid-sonic-dreams.

Javi-Python avatar Javi-Python commented on September 7, 2024

What packages have you installed?

hey I actually got it to work on google collab, although I think my problem was I was trying to use . m4a files. Really awesome work, do you mind if I post some creations on youtube? I know a ton of people that would love to watch these

from lucid-sonic-dreams.

Gresliebear avatar Gresliebear commented on September 7, 2024

I didnt make the project I am stuck on the same error with Hallucinating Errors on windows 10

Hallucinating...

  0%|                                                                                                                                                                                  | 0/7723 [00:00<?, ?it/s]Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1356, in _do_call
    return fn(*args)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation G_mapping_1/_Run/G_mapping/latents_in: {{node G_mapping_1/_Run/G_mapping/latents_in}}was explicitly assigned 
to /device:GPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0 ]. Make sure the device specification refers to a valid device.     
         [[G_mapping_1/_Run/G_mapping/latents_in]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test_file.py", line 16, in <module>
    L.hallucinate(file_name = 'redone.mp4')
  File "/home/project/lucidsonicdreams/main.py", line 682, in hallucinate
    self.generate_frames()
  File "/home/project/lucidsonicdreams/main.py", line 527, in generate_frames
    np.tile(class_batch, (batch_size, 1)))
  File "/usr/local/lib/python3.6/dist-packages/dnnlib/tflib/network.py", line 443, in run
    mb_out = tf.get_default_session().run(out_expr, dict(zip(in_expr, mb_in)))
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 950, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1173, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1350, in _do_run
    run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1370, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation G_mapping_1/_Run/G_mapping/latents_in: node G_mapping_1/_Run/G_mapping/latents_in (defined at /usr/local/lib/python3.6/dist-packages/dnnlib/tflib/network.py:218) was explicitly assigned to /device:GPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0 ]. Make sure the device specification refers to a valid device.
         [[G_mapping_1/_Run/G_mapping/latents_in]]

Errors may have originated from an input operation.
Input Source operations connected to node G_mapping_1/_Run/G_mapping/latents_in:
 G_mapping_1/_Run/split (defined at /usr/local/lib/python3.6/dist-packages/dnnlib/tflib/network.py:404) ```

from lucid-sonic-dreams.

Gresliebear avatar Gresliebear commented on September 7, 2024

basically what I found out unless your GPU has tenorcores it wont run

https://stackoverflow.com/questions/47362590/tensorflow-gpu-error-invalidargumenterror-cannot-assign-a-device-for-operation

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.