Giter VIP home page Giter VIP logo

Comments (5)

dr-moo avatar dr-moo commented on July 24, 2024

Second this! I am getting the same issue for both single image detection and video tracking

@cfotache, is there any chance you could elaborate a bit because the whole idea of using custom trained YOLO with your implementation (the best one I found at least) of SORT is very tempting...

from pytorch_objectdetecttrack.

Manthata avatar Manthata commented on July 24, 2024

Hey! I think you should try to change the modules from cuuda to normal Float.Tensor and some part of the program so that it is runs on a local machine without GPU settings. If you are using a GPU then it should work just fun without making any changes

from pytorch_objectdetecttrack.

Manthata avatar Manthata commented on July 24, 2024

I just recloned again and changed the settings from GPU to CPU and it worked fine on my local computer.

from pytorch_objectdetecttrack.

dr-moo avatar dr-moo commented on July 24, 2024

I just recloned again and changed the settings from GPU to CPU and it worked fine on my local computer.

The problem is that i do have a GPU with cuda compiled and working on other projects, but i still get the same out of index error when i try to run object_tracker.py

Which parts of the code are responsible for CPU-only runs?

Thanks in advance!

from pytorch_objectdetecttrack.

archimanlol avatar archimanlol commented on July 24, 2024

The linear_assignment function is deprecated in 0.21 and will be removed from 0.23, but sklearn.utils.linear_assignment_ can be replaced by scipy.optimize.linear_sum_assignment You can use from scipy.optimize import linear_sum_assignment as linear_assignment.

from pytorch_objectdetecttrack.

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.