Open jonnyhoff opened 3 years ago
I'm having the same error :(
What packages have you installed?
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
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) ```
basically what I found out unless your GPU has tenorcores it wont run
This is such a cool project. Please have a look at this.
Errors: