-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indentation issues with python3 #4
Comments
You got any solution for this? |
I have no idea what is causing the error for the both of you, but you can submit a PR if you figure a fix! Maybe there are a combination of tabs and spaces or something like that? But tabs + spaces would throw a different error I think. |
I made a colab notebook for this. Can you tell which python version you used for this code? Is the neural-dream repo extended version of this? I saw a tiling feature in that too. |
I probably used Python2.7 as this project is really old. The neural-dream project is a completely different project completely designed by me and written in PyTorch. Protobuf-Dreamer is really old and likely very much out of date these days. |
Dude this is hella slow. 💀 Environment Used Was:
EditNow its showing this error: You can click the same colab notebook to reproduce the error. I think this is a scikit-image issue |
Try replacing scipy with skimage like I used here: https://github.com/ProGamerGov/Neural-Tools/blob/master/linear-color-transfer.py |
$ unzip -d model inception5h.zip
Archive: inception5h.zip
inflating: model/imagenet_comp_graph_label_strings.txt
inflating: model/tensorflow_inception_graph.pb
inflating: model/LICENSE
$ python pb_dreamer.py --input_image input.png
File "pb_dreamer.py", line 120
g = calc_grad_tiled(img, t_grad, tile_size)
^
$ python -V
Python 3.7.3
The text was updated successfully, but these errors were encountered: