deep-visualization-toolbox icon indicating copy to clipboard operation
deep-visualization-toolbox copied to clipboard

How to use optimize_image.py

Open idealboy opened this issue 7 years ago • 4 comments

Dear Sir,

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

idealboy avatar Jun 02 '17 10:06 idealboy

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

pingjun18-li avatar Jun 27 '17 01:06 pingjun18-li

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

heitorrapela avatar Jun 27 '17 03:06 heitorrapela

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.

pingjun18-li avatar Jun 27 '17 12:06 pingjun18-li

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.

heitorrapela avatar Jun 27 '17 13:06 heitorrapela