Coder Social home page Coder Social logo

Error when run PVAnet_test about tffrcnn HOT 9 OPEN

charlesshang avatar charlesshang commented on May 23, 2024
Error when run PVAnet_test

from tffrcnn.

Comments (9)

baileyqbb avatar baileyqbb commented on May 23, 2024 2

Hi, there! I faced the same issue, but finally find the errors in PVAnet_test.py. Here is the lines I've changed to make the test work:
lines to comment:
85 --> .scale(c_in=384, name='conv5_4/last_bn_scale')
118 --> (self.feed('convf_rpn', 'convf_2')
119 --> .concat(axis=3, name='convf'))

lines to change:
92 --> (self.feed('downsample', 'conv4_4', 'upsamle') ---> (self.feed('downsample', 'conv4_4')
121 --> (self.feed('convf', 'rois') ---> (self.feed('convf_2', 'rois')
122 --> .roi_pool(7, 7, 1.0/16, name='roi_pooling') ---> .roi_pool(6, 6, 1.0/16, name='roi_pooling')

Hope this will help!

BTW, as mentioned by @jwnsu, test error is quite high. I trained the model using VOC2012 data with 200000 iters, the mAP is about 0.03, which is totally unacceptable. I am gonna train the model with more iters, and meanwhile, check the PVAnet to see if it is the same with the caffe version mentioned by @autumnqin.

Will update if any news.

from tffrcnn.

CharlesShang avatar CharlesShang commented on May 23, 2024

Was it solved?
There must be a typo in the test net.
I'll run some debug in my spare time

from tffrcnn.

jwnsu avatar jwnsu commented on May 23, 2024

test error is easy to resolve, however it has very high error (mAP is below 0.1) -- caffe version is one of most accurate models. It seems conv2_1/1/conv layer is different from the paper, can also be caused by issue in pva_negation_block/v2.

from tffrcnn.

autumnqin avatar autumnqin commented on May 23, 2024

train is different from test, and both are different from Caffe version

from tffrcnn.

sevaxyz avatar sevaxyz commented on May 23, 2024

@baileyqbb Haven't you figured out the issue with the low mAP by any chance?

from tffrcnn.

yshen92 avatar yshen92 commented on May 23, 2024

Hi guys, can anyone please share some tips on improving the mAP?

from tffrcnn.

QueenJuliaZxx avatar QueenJuliaZxx commented on May 23, 2024

thank you very much @baileyqbb

from tffrcnn.

gentlebreeze1 avatar gentlebreeze1 commented on May 23, 2024

@baileyqbb @QueenJuliaZxx do you run pva-faster-rcnn successfully?my pva.npy seem to be wrong.where do you download?what the script command do you run ?thanks for your help

from tffrcnn.

amirmgh1375 avatar amirmgh1375 commented on May 23, 2024

@baileyqbb
thank you so much 👍
it works very well 💯 🥇

from tffrcnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.