Code Monkey home page Code Monkey logo

Comments (5)

ZQPei avatar ZQPei commented on July 24, 2024

Your custom weight file and cfg file of yolov3?
You might need to change this forward yolov3 scripts, because this yolov3 is only a demo.
I am curious that if you detect nothing, why there is no Error?
I need more details to tell you what the problem might be.

from deep_sort_pytorch.

sandeshshrestha45 avatar sandeshshrestha45 commented on July 24, 2024

I trained yolov3 using my own datasets which has 5 classes including humans. I have generated weight file from it. I replaced the original weight file with the one i generated from my datasets. Actually I am getting detections when i run it on darknet but when i use your repo, i dont get any detections. I downloaded the deep sort checkpoint file too placed it inside checkpoint folder following your instructions. Then when i try it with original yolov3 weight, it is showing detections and tracking but when i try it with my own weight file, it doesnt detect anything.

from deep_sort_pytorch.

ZQPei avatar ZQPei commented on July 24, 2024

I think the problem is that, in the dataset of yours the Human class id may not be 0.
See the code in demo.py, line 37-39.

            if bbox_xywh is not None:
                mask = cls_ids==0
                bbox_xywh = bbox_xywh[mask]

It only choose the cls_ids equals to 0.

from deep_sort_pytorch.

sandeshshrestha45 avatar sandeshshrestha45 commented on July 24, 2024

it worked. thanks a lot.

from deep_sort_pytorch.

duyao-art avatar duyao-art commented on July 24, 2024

@sandeshshrestha45 Hello. I got the same problem now. I am wondering if we just only change the position of person label to 0, there is no doubt that the deep_sort can track the person. but how about other classes that we want to detect and track? How should we do that? I am confused about that. I hope you could give me some advice . thank you

from deep_sort_pytorch.

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.