Code Monkey home page Code Monkey logo

Comments (4)

ziqipang avatar ziqipang commented on June 26, 2024

@JunqiaoLi Hi, I haven't met with this before. Perhaps you could run a sanity check to see where these two functions are different? According to my memory, they should perform the same on a short video clip (e.g. 3 frames) under the setup of multi-frame detection (multi-frame detection as in here).

from pf-track.

JunqiaoLi avatar JunqiaoLi commented on June 26, 2024

@JunqiaoLi Hi, I haven't met with this before. Perhaps you could run a sanity check to see where these two functions are different? According to my memory, they should perform the same on a short video clip (e.g. 3 frames) under the setup of multi-frame detection (multi-frame detection as in here).

Hi, let me describe my operation in detail:

  1. The model that I use is your f3_fullres_all model.
  2. I use test.py and forward_test to evaluate the model with 8 gpus. The MAP is 0.42181965127297494 (which is the same perfoemance as your log)
  3. I comment out the original forward_test, and change forward_track as forward_test, still use test.py to evaluate the model with only 1 gpu. The MAP is 0.055639788009346346.

From my understanding, the forward_test will regard the model as a detection model, which means it will generate_empty_instance at every time.
As for forward_track, it will only generate_empty_instance at the first frame, then keep some track instances and pass to next frame.

I'm not sure if there is any error in my steps described above? And could u plz tell me about how did you check that 'they should perform the same on a short video clip' ?

from pf-track.

ziqipang avatar ziqipang commented on June 26, 2024

@JunqiaoLi I see. If you use the tracking evaluation for the detection evaluation, the phenomenon described above makes more sense now. (Actually, I don't recommend this. Please check out the reasons in here.)

Ok, now, potential solutions. There are a handful of differences between forward_test and forward_track. I cannot remember everything after several months, but here are two examples. (1) link test_tracking filters out the categories not for tracking evaluation; (2) link More complicated update of active tracks is used for tracking. Perhaps aligning the behaviors is the key to getting good detection results.

Furthermore, how about getting the bounding boxes via the tracking results tools/test_track.py then evaluate the mAP. You might need to align the format with detection, though.

from pf-track.

ziqipang avatar ziqipang commented on June 26, 2024

@JunqiaoLi It seems this issue is no longer active. Thanks for the discussion! Would you mind close this issue?

from pf-track.

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.