Giter Site home page Giter Site logo

Comments (4)

pedromoraesh avatar pedromoraesh commented on May 14, 2024

Of course, you can use it. The detection part is the base for good tracking performance. In this case, they aim to use almost every detection box to improve the tracking step. With this in mind, you can use the model just for detection without sending the boxes to the tracker.

from bytetrack.

ssbilakeri avatar ssbilakeri commented on May 14, 2024

from bytetrack.

ssbilakeri avatar ssbilakeri commented on May 14, 2024

from bytetrack.

zxchang-1 avatar zxchang-1 commented on May 14, 2024

I had the same problem,I have used his trained model on mix dataset as a detector with the
deepsort tracker too. I wonder if you have solved your problem

Traceback (most recent call last):
File "C:/Users/zxc/Desktop/ByteTrack-main/tools/demo_track.py", line 558, in
main(exp, args)
File "C:/Users/zxc/Desktop/ByteTrack-main/tools/demo_track.py", line 549, in main
image_demo_deepsort2(predictor, vis_folder, current_time, args)
File "C:/Users/zxc/Desktop/ByteTrack-main/tools/demo_track.py", line 378, in image_demo_deepsort2
outputs = deepsort.update((torch.Tensor(bbox_xywh)), (torch.Tensor(confs)), img_info['raw_img'])
File "C:\Users\zxc\Desktop\ByteTrack-main\deep_sort\deep_sort.py", line 29, in update
features = self._get_features(bbox_xywh, ori_img)
File "C:\Users\zxc\Desktop\ByteTrack-main\deep_sort\deep_sort.py", line 99, in _get_features
features = self.extractor(im_crops)
File "C:\Users\zxc\Desktop\ByteTrack-main\deep_sort\deep\feature_extractor.py", line 45, in call
im_batch = self._preprocess(im_crops)
File "C:\Users\zxc\Desktop\ByteTrack-main\deep_sort\deep\feature_extractor.py", line 40, in _preprocess
im_batch = torch.cat([self.norm(_resize(im, self.size)).unsqueeze(0) for im in im_crops], dim=0).float()
File "C:\Users\zxc\Desktop\ByteTrack-main\deep_sort\deep\feature_extractor.py", line 40, in
im_batch = torch.cat([self.norm(_resize(im, self.size)).unsqueeze(0) for im in im_crops], dim=0).float()
File "C:\Users\zxc\Desktop\ByteTrack-main\deep_sort\deep\feature_extractor.py", line 37, in _resize
a=cv2.resize(im.astype(np.float32)/255., size)
cv2.error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

from bytetrack.

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.