caffe-deconvnet icon indicating copy to clipboard operation
caffe-deconvnet copied to clipboard

Unexpected Results

Open aravindhm opened this issue 8 years ago • 2 comments

I ran the demo code available in python-demo/ folder for the butterfly test image. The output is very different from what is expected based on the publication (ECCV 2014 - https://www.cs.nyu.edu/~fergus/papers/zeilerECCV2014.pdf). It is attached below:-

butterfly_deconvnet

I am using the caffe fork at https://github.com/piergiaj/caffe

make runtest fails at one of the test cases [ RUN ] NetUpgradeTest.TestUpgradeV1LayerType /media/data/aravindh/Software/caffe/piergiaj/caffe/src/caffe/test/test_upgrade_proto.cpp:2897: Failure Value of: V1LayerParameter_LayerType_IsValid(i) Actual: false Expected: true [ FAILED ] NetUpgradeTest.TestUpgradeV1LayerType (1 ms) [----------] 4 tests from NetUpgradeTest (13 ms total)

aravindhm avatar Feb 26 '16 22:02 aravindhm

This has to do with the lines that select the features to send back to the input space (roughly line 68 in the demo code):

feat = net.blobs['pool5'].data feat[0][feat[0] < 150] = 0

If you adjust which features are used, you will get different images.

piergiaj avatar Feb 26 '16 22:02 piergiaj

Hello @aravindhm I have the same problem with you.Have you already solved it ?And Can you give me some advises to work it out. 3Q very much.

GloryZhao avatar Jan 05 '17 02:01 GloryZhao