Comments (13)
I'm not sure what I did, but now I am also getting the error:
Traceback (most recent call last): File "tools/train.py", line 168, in <module> main() File "tools/train.py", line 164, in main meta=meta) File "/home/maxwelr/mmtracking/mmtrack/apis/train.py", line 136, in train_model runner.run(data_loaders, cfg.workflow, cfg.total_epochs) File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 125, in run epoch_runner(data_loaders[i], **kwargs) File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train for i, data_batch in enumerate(self.data_loader): File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 291, in __iter__ return _MultiProcessingDataLoaderIter(self) File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 764, in __init__ self._try_put_index() File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 994, in _try_put_index index = self._next_index() File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 357, in _next_index return next(self._sampler_iter) # may raise StopIteration File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 208, in __iter__ for idx in self.sampler: File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/datasets/samplers/group_sampler.py", line 36, in __iter__ indices = np.concatenate(indices) File "<__array_function__ internals>", line 6, in concatenate ValueError: need at least one array to concatenate Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/multiprocessing/popen_fork.py", line 28, in poll pid, sts = os.waitpid(self.pid, flag) File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler _error_if_any_worker_fails() RuntimeError: DataLoader worker (pid 32599) is killed by signal: Terminated.
from mmtracking.
I believe this is still related to the first issue I showed though:
line 6, in concatenate ValueError: need at least one array to concatenate Error in atexit._run_exitfuncs
from mmtracking.
I have followed all instructions. And I'm getting this error when I try to run
python tools/train.py configs/mot/deepsort/deepsort_faster-rcnn_fpn_4e_mot17-public-half.py
Traceback (most recent call last): File "tools/train.py", line 168, in <module> main() File "tools/train.py", line 164, in main meta=meta) File "/home/maxwelr/mmtracking/mmtrack/apis/train.py", line 136, in train_model runner.run(data_loaders, cfg.workflow, cfg.total_epochs) File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 125, in run epoch_runner(data_loaders[i], **kwargs) File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train for i, data_batch in enumerate(self.data_loader): File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 291, in __iter__ return _MultiProcessingDataLoaderIter(self) File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 764, in __init__ self._try_put_index() File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 994, in _try_put_index index = self._next_index() File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 357, in _next_index return next(self._sampler_iter) # may raise StopIteration File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 208, in __iter__ for idx in self.sampler: File "/home/maxwelr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet/datasets/samplers/group_sampler.py", line 36, in __iter__ indices = np.concatenate(indices) File "<__array_function__ internals>", line 6, in concatenate ValueError: need at least one array to concatenate
Hi, do you have solved this issue? I get the same issue and have no idea about it.
from mmtracking.
Hi all, please read the README.md
As these trackers are using offline trained detectors, you need to train the detector first and infer with the MOT model.
from mmtracking.
According to my assumption, VID does not require already trained detector as the task is training a detector itself but not sure why I am getting this error for VID with SELSA or any other architecture @OceanPang
from mmtracking.
@AtGrover Hi, what command did you run? Could you give the error information of SELSA?
from mmtracking.
Running with
python tools/train.py config/vid/$SELSA_CONFIG
Base config in selsa default config is changed to the new dataset (i.e. CocoVID)
from mmtracking.
Same question, Using the SELSA config file for the customized dataset will cause this error. It seems like the training dataloader cannot find the image path
from mmtracking.
@GT9505 Hi, Any updates for this issue?
from mmtracking.
Well, I find the solution, In the config file, you need to set the classes as the same as the categories in your annotation json file. If not, the mmtrack will ignore all data and cause this error
from mmtracking.
thank you, : )
from mmtracking.
hi,thouth i have changed the classess and the num_class,but i still met the same problem,could i get your email and ask for u?
from mmtracking.
hi,thouth i have changed the classess and the num_class,but i still met the same problem,could i get your email and ask for u?
The classes in "./mmtrack/datasets/imagenet_vid_dataset.py" should also be changed.
from mmtracking.
Related Issues (20)
- VisDrone DET and VID COCO annotation format
- 您好,您的mmtrack/datasets/pipelines/transforms.py中的SeqExpand应该是写错了,得到的序列中每个图片的增强都不同,在vid算法训练时,时序信息将会丢失。 HOT 2
- mmtracking and BDD100Kdataset
- Multiple static targets in MixFormer
- Poor training results on custom data with ''Temporal ROI Align for Video Object Recognition'' ?
- Maybe a small bug about test progress bar in multi_gpu_test(). HOT 1
- AssertionError: MMCV==2.0.1 is used but incompatible. Please install mmcv>=1.3.17, <2.0.0. HOT 2
- ModuleNotFoundError: No module named 'mmtrack' HOT 1
- mmcv compatibility
- ModuleNotFoundError: No module named 'mmcv._ext' HOT 1
- Failing to build wheels of mmtrack HOT 1
- The MOT tutorial does not output label for detection results
- KeyError: 'categories'
- Using YOLOV8 in MMTracking
- -
- mmdet depends on mmcv>=2.0.0rc4 while mmtrack depends on mmcv <2.0.0 HOT 1
- Compatability Issue between MMCV and MMTracking HOT 1
- in _get_stream if device.type == "cpu": AttributeError: 'int' object has no attribute 'type' HOT 1
- Is this repo dead? HOT 2
- KeyError: "'track_bboxes' not found in the outputs."
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 mmtracking.