GithubHelp home page GithubHelp logo

Comments (5)

adamantboy avatar adamantboy commented on May 28, 2024

@aleksei-kashapov

from nncf.

kshpv avatar kshpv commented on May 28, 2024

Dear @adamantboy,

Thank you for your issue.
We found out the bug because of it.
The last pull request should fix it.
It has small fixes so you can apply them manually or if you have more time you may wait till it would be merged.

If it wouldn't work for you please let me know

from nncf.

adamantboy avatar adamantboy commented on May 28, 2024

@aleksei-kashapov thanks, it works! However, another question appears, the ap of VOC07 metric is zero always in that the value of batch_detections is all zero, i am sure that the input value fetched from pull_item in COCODataset is right. The output values in terminal are as follows.
batch_detections:
tensor([[[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],
...,
[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.],
[0., 0., 0., ..., 0., 0., 0.]]])

all_boxes length: 0
Evaluating detections
VOC07 metric? Yes
classes: ('box',)
cls_ind: 0 cls: box
box_list []
box_list[:, 1]: []
cls_ind + 1: 1
AP for box = 0.0000
Mean AP = 0.0000

It is really weird.

from nncf.

adamantboy avatar adamantboy commented on May 28, 2024

I solve this problem when i add 1 to num_classes.

from nncf.

kshpv avatar kshpv commented on May 28, 2024

Awesome!

from nncf.

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.