Comments (6)
Hi!
Do you make a project with cmake options?
It need:
-DMTRACKER_PYTHON=ON
-DNUMPY_INCLUDE_DIR=
A last value on my computer is /usr/lib/python3/dist-packages/numpy/core/include/
from multitarget-tracker.
Hello @Nuzhny007 and big thanks for your response, so I have already run this success, love your passion on computer vision. But I have some concern now, that I have engaged in some (fast moving - small) golf ball tracking on 2 camera frame one for swing at the tee box, one at the putting area, now I have trained the golf ball dataset on yolov5, but I got the error when I run the option 6 train with tensorrt weights and cfg file, then I generate the weight that trained from my golf ball dataset then when I hit the inference, I got the error something like their are a mismatch show in the terminal logger like this:
OpenCL not used
ParseTrackerSettings: ...
ParseTrackerSettings: 0
Video ../../../golf_ball_and_hole_tracking/duyputt01.mp4 was started from 0 frame with 30 fps, frame size [720 x 1280] and length 309
Config Done!
File does not exist : ../data/yolov5s/yolov5s-kFLOAT-batch1.engine
Loading pre-trained weights...
Loading complete!
WARNING: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
layer inp_size out_size
(1) Conv 3 x 320 x 640 32 x 160 x 320
(2) Conv 32 x 160 x 320 64 x 80 x 160
(3) C3 64 x 80 x 160 64 x 80 x 160
(4) Conv 64 x 80 x 160 128 x 40 x 80
(5) C3 128 x 40 x 80 128 x 40 x 80
(6) Conv 128 x 40 x 80 256 x 20 x 40
(7) C3 256 x 20 x 40 256 x 20 x 40
(8) Conv 256 x 20 x 40 512 x 10 x 20
(9) C3 512 x 10 x 20 512 x 10 x 20
(10) SPP 512 x 10 x 20 512 x 10 x 20
(11) Conv 512 x 10 x 20 256 x 10 x 20
(12) Upsample 256 x 10 x 20 256 x 20 x 40
(13) Concat 256 x 20 x 40 512 x 20 x 40
(14) C3 512 x 20 x 40 256 x 20 x 40
(15) Conv 256 x 20 x 40 128 x 20 x 40
(16) Upsample 128 x 20 x 40 128 x 40 x 80
(17) Concat 128 x 40 x 80 256 x 40 x 80
(18) C3 256 x 40 x 80 128 x 40 x 80
(19) Conv 128 x 40 x 80 128 x 20 x 40
(20) Concat 128 x 20 x 40 256 x 20 x 40
(21) C3 256 x 20 x 40 256 x 20 x 40
(22) Conv 256 x 20 x 40 256 x 10 x 20
(23) Concat 256 x 10 x 20 512 x 10 x 20
(24) C3 512 x 10 x 20 512 x 10 x 20
MultitargetTracker: /mnt/d/Code/hole-in-one-classification/nuzhny/Multitarget-tracker/src/Detector/tensorrt_yolo/trt_utils.cpp:911: nvinfer1::ILayer* layer_conv(std::vector<nvinfer1::Weights>&, std::string, std::map<std::__cxx11::basic_string<char>, std::vector<float> >&, nvinfer1::ITensor*, nvinfer1::INetworkDefinition*, int, int, int, bool, int, bool): Assertion `size == (map_wts_[s_layer_name_ + ".weight"].size())' failed.
[1] 5385 IOT instruction ./MultitargetTracker ../../../golf_ball_and_hole_tracking/duyputt01.mp4 -e=6
Hope you let the example 6 can predict on custom dataset trained weight!
from multitarget-tracker.
I am also tend to use the option 1 because I really like your example on youtube: https://www.youtube.com/watch?v=PalIIAfgX88
But when i download your video and run the default setup of the example 1 option, their are a lot of noise and false positive so, hope you share more about example 1 also, big thanks to you @Nuzhny007
from multitarget-tracker.
duyputt01.mp4
duyswing01.mp4
duyputt02.mp4
putt04.mp4
putt01.mp4
I tend to use these video for testing but It is seems like the example 1 code not work well with moving camera right?
from multitarget-tracker.
An example for fast objects used background subtraction algorithm. It works only for static cameras (like security cameras for surveilance systems). For your case it need to train a neural network for ball detection.
from multitarget-tracker.
@Nuzhny007 Thanks, but when I use the example 6, it seems like the code do not accept my custom training weight right? Could you double check the example 6 for me?
from multitarget-tracker.
Related Issues (20)
- Can't build CarsCounting HOT 9
- Seems tracking does not work with OpenCV 4.7.0 HOT 1
- errors ocurred when i use the yolov7.onnx HOT 10
- Tracking without detection HOT 1
- There are some errors when building the project. HOT 7
- Hello, why does the tracker code have a dat and graph part? Looks like too much complicated, HOT 1
- Compile python module under windows HOT 1
- YOLOv7 instance segmentation HOT 1
- File "video_with_traffic.mp4" is absent HOT 3
- Problems running tracker with DeepSORT HOT 6
- Point tracking, exe execution bug! HOT 2
- Discuss about App Example 1 and Example 6 do not working with moving camera video? HOT 2
- The source code do not working with weight from yolov5 trained on custom dataset HOT 1
- Try to update GTL and MWBM versions
- Update Darknet sources
- Tracking with a real timestamps
- Bug with github actions
- About code migration HOT 1
- Maximum active tracks 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 multitarget-tracker.