yosinski / deep-visualization-toolbox

DeepVis Toolbox
http://yosinski.com/deepvis
MIT License
4.01k stars 927 forks source link

How to use optimize_image.py #117

Open idealboy opened 7 years ago

idealboy commented 7 years ago

Dear Sir,

How can I use the script optimize_image.py to process my Images? Thank you!

pingjun18-li commented 7 years ago

Dear Sir, Have you solved your problem? I have the same problem, please

heitorrapela commented 7 years ago

Hey there, checkout this link, maybe it could help you. Running Optimize Image

pingjun18-li commented 7 years ago

yes,I known that,but when I run the command like './optimize_image.py --decay 0 --blur-radius 0.5 --blur-every 4 --small-norm-percentile 50 --max-iter 500 --lr-policy progress --lr-params "{'max_lr': 100.0, 'desired_prog': 2.0}",it always turn out the valueError : Mean shape incompatible with input shape. It makes me confused.

heitorrapela commented 7 years ago

I'm running the deep-visualization-toolbox with googLeNet. I had this error too, but I correct it. Check this StackOverflow: You need to replace some lines in: caffe/python/caffe/io.py.