-
Notifications
You must be signed in to change notification settings - Fork 25
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
What are the steps to run this project #2
Comments
hello, how to run this project? |
While I don't have this project with respect to the correct results. I will document what got me starting. The code suggests that colornet was used as input data to train the model. This dataset (1.8TB full size) can be obtained via http://places.csail.mit.edu/downloadData.html Instead I used 1000 photos from my own collection then scaled them down due to memory constraints. mkdir -p jobs
mkdir -p output
mkdir -p data/colornet
mogrify -resize 256x256\! -path /your/path/to/neuralhash/data/colornet /your/path/to/photos/*jpg At this moment I have removed all references to the VisdomLogger, but I would expect running it and changing the IP adress would obviously help too. Because my only Cuda machine had only 4GB of RAM I changed utils.py BATCH_SIZE=2. I also commented out the model2 testing while training (because I ran out of memory). So once you have done the steps above you are able to run train_amnesia.py. This would give the weights_file mentioned in the rest of the code. Where I am currently at:
And as you can see, the Target != Prediction. Now I have noticed that in models.py the following is set. Where MODEL_TYPE in utils.py is defined as DecodingGramNet. DecodingModel = eval(MODEL_TYPE) Even changing this model to DecodingNet does not result in a correct prediction. And TinyDecodingNet failing when encoding. And DilatedDecodingNet failing on usage (due to GramMatrix not being defined). So from what I have experienced this thing does not work out of the box, not even when investing some time in it. |
Can you please update on how to run this project?
The text was updated successfully, but these errors were encountered: