-
Notifications
You must be signed in to change notification settings - Fork 191
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
Alexnet Pre-processing #80
Comments
Hi @silvaurus , You can use the below command: Thanks. |
Thanks a lot for you reply! What about RGB channels? Best Regards, |
Hi, I tried
There doesn't seem to have a
|
I actually did what post #45 said, editing line I run one image taken from ILSVRS12, the result of which seems to make sense, but still different from running directly from Caffe. I use Caffe in python to run Alexnet similar with Caffe tutorial on Caffenet: https://github.com/BVLC/caffe/blob/master/examples/00-classification.ipynb
|
Update: So I get rid of this part in the UMD source code, and get a simulator output like this:
The result definitely makes more sense now. But it's still different with Caffe output. |
Hi @silvaurus |
Hi @silvaurus Could you share how to edit "sw/umd/tests/runtime/TestUtils.cpp" for the image preprocessing? Thanks. |
Hi! I've read the post #45 but still confused about preprocessing and the --normalize argument.
Alexnet preprocessing includes (1)turn RGB To BGR (2)crop image size to 227 (3)rescale pixels from 0-1 to 0-225 (4)Subtract the mean of the Imagenet dataset ([104.00698793 116.66876762 122.67891434])
Could you help me with which of those can be done by adding arguments like --normalize, and which of those need to change the prototxt file?
Thank you so much!
The text was updated successfully, but these errors were encountered: