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
ValueError: Layer weight shape not compatible with provided weight shape #38
Comments
Update. After adding the following line:
after line 88, I got the error Might be something wrong with my conda env. Reinstalled a tensorflow + image-analogies env with virtualenv py3.6 and it seems to work now (now iteration 1x4) |
Which version of Keras are you using? Sounds like you're using Keras v2 whereas this currently supports v1. |
I see, maybe this could be updated in the readme. Will try again, thx! |
@awentzonline there's also something wrong with the pip package. While I can see versions hardcoded with
|
@awentzonline after force installing the requirements.txt package versions, I'm now getting the following error:
What version of h5py are you using ? The one I have installed is v2.5.0 :/ |
looking at the h5py repo, seems like the v2.5 branch was quite buggy. Installed the latest version 2.7, and it force installed numpy 1.12.1. Restarting a make_image_analogy.py run and crossing fingers... |
Unfortunately, it still doesn't look anything like a city. I wasn't expecting something of high quality (purposedly ran on images scaled down to 512px to test it out with cpu on my laptop), and the plan was then to re-run the script on AWS with GPU using the HD images. But clearly, if I tried AWS now, it'd still result in some garbled image. I didn't use any option (simply |
@Fandekasp I must've accidentally closed this without commenting. Two things: quality settings are documented in the readme, and the mask you're using for the city should probably be more detailed if you want interesting results. This is some random thing I made available for free a year ago and is otherwise a time sink for me. Passive-aggressive comments like yours make me less enthusiastic about supporting this at all. |
@awentzonline at the time, it felt like coming to your door, explaining you an issue I had and asking for help, then... getting the door slammed to my face ^^ Sorry for the reaction, and thank you for coming back to give more details. I'm currently finishing the fast.ai course, and will then study Keras in more detail. Since I'm very interested by this kind of project, I might even be able to upgrade your repo to the latest packages versions. Keep in touch |
Hey, no big deal--I hope you end up with some nice results. |
after installing Tensorflow Python 3 / CPU only on anaconda, I tried to run the script without success:
Any idea how to solve this issue ?
PS: Note that I renamed all calls
Convolution2D(XXX, 3, 3, activation=...
intoConv2D(XXX, (3, 3), activation=...
to fix the many UserWarningsThe text was updated successfully, but these errors were encountered: