Giter Site home page Giter Site logo

Comments (3)

SurajDonthi avatar SurajDonthi commented on June 5, 2024 1

@toshalpatel Actually there are only 751 classes for the Market data. While parsing the data, all images are scanned to find the number of classes as well as assigning new class indexes. So the process is dynamic.

Not sure why the issue occurred. I apparently haven't faced this issue.

from multi-camera-person-re-identification.

toshalpatel avatar toshalpatel commented on June 5, 2024

You can solve it by replacing num_classes with num_classes+1
I guess there are [0, 751] classes (752 in total). I am wondering if you faced any similar issues while training @SurajDonthi

from multi-camera-person-re-identification.

SurajDonthi avatar SurajDonthi commented on June 5, 2024

@toshalpatel The above error occurs because there exists an extra label -1 in the bounding_box_test data. These labels are actually left for the model to guess. Hence a comparison (loss func.) of these with the true label does not actually make sense. Currently, my code doesn't account for this. However, I'll be adding a much more robust testing function very soon.

So setting the classes to 751 is the right thing to do (which will break the current testing code and not the training code). So you can generate your model by training without validation/testing for the time being. However, if you want to test, feel free to write a function of your own for the time being.

from multi-camera-person-re-identification.

Related Issues (15)

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.