Comments (6)
I resolved the issue and ran the script successfully in Windows. Initially I was trying to run the script in PyCharm. But this time I created an environment in Anaconda Powershell Prompt using: conda create -n python*3.7 deepsort
. Then open the requirements.txt
and remove the lines torch>=1.6.0
and torchvision>=0.7.0
then go to pytorch and select Build, OS, Package, Language etc. Then copy the line after Run this Command:
and paste it into your command line. At the time of writing this comment I got this line pip install torch===1.7.0 torchvision===0.8.1 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
. Then follow the instructions in the repository for installing the rest of the requirements and obtaining the weights and checkpoint files and then run the track.py
script.
from yolo_tracking.
Check that you fulfill all the requirements. I seems to me that you pytorch is not >=1.7
from yolo_tracking.
I installed the latest version even tried the nightly build of pytorch
. I tried the same in Linux and it worked though but in Windows I have yet to make it work. Are you running this on Windows?
from yolo_tracking.
This repo has never been run on a windows machine. But this issue may help ultralytics/yolov5#773
from yolo_tracking.
I've seen that and that's not a real solution. Telling me to use Google Colab or Kaggle Notebook or Docker because it's "Tested" is an excuse worst than the crime itself. Anyways it looks like it's a pytorch problem since the same code works in Linux. I've heard somewhere that a workaround would be to replace the Hardswish
with LeakyReLU
and retrain the network but that's a huge undertaking. Anyways thanks for the response.
from yolo_tracking.
Yolov5 uses CI for testing its basic functionality: "including training (train.py), testing (test.py), inference (detect.py) and export (export.py) on MacOS, Windows, and Ubuntu"
Using a verified environment like a DockerContainer to get stuff working is a software development standard. Specially if it was already tested and recommended by its creator. I would say it is even more important if you have problems getting the code running.
from yolo_tracking.
Related Issues (20)
- Handle Small/Tiny and Fast/High Speed moving object detection/tracking with stable inference HOT 21
- error in downloading the re_id models HOT 4
- ImportError: Bad git executable. HOT 4
- How can I use this repo on Android? Any suggestions are appreciated. HOT 2
- Repeat HOT 1
- Using SORT tracker with the YOLO models HOT 1
- ModuleNotFoundError: No module named 'examples.detectors' HOT 2
- How to use this repo for multiple camera HOT 2
- Module not Found Error utils.dataloaders its available but showing not found HOT 3
- how can i evaluate on first half of MOT17 ? HOT 2
- AttributeError: 'DeepOCSort' object has no attribute 'reset' HOT 5
- How to use this repository for Multi-camera and multi object tracking HOT 4
- Adding support for SparseTrack? HOT 2
- After tracking the model using trt, will appear IndexError: index 3 is out of bounds for axis 0 with size 3 HOT 5
- Where is the OCSortKalmanFilterAdapter? I can't find it HOT 2
- Prediction on new frames without YOLO detection HOT 3
- adapt to more new technological solutions HOT 1
- Any Vehicle ReID Models? HOT 3
- numpy version HOT 2
- Results for multiple classes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolo_tracking.