An error has been caught in function 'launch'
Hello, when I run "python3 tools/train.py -f exps/example/mot/yolox_x_ablation.py -d 1 -b 2 --fp16 -o -c pretrained/yolox_x.pth", it has the following error, how should I solve it?
2021-11-05 17:35:18 | INFO | yolox.core.trainer:131 - Model Summary: Params: 99.00M, Gflops: 791.73 2021-11-05 17:35:19 | ERROR | yolox.core.launch:90 - An error has been caught in function 'launch', process 'MainProcess' (326996), thread 'MainThread' (140436361090880): Traceback (most recent call last):
File "tools/train.py", line 121, in
File "/media//ByteTrack/yolox/core/launch.py", line 90, in launch main_func(*args) │ └ (╒══════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════════... └ <function main at 0x7fb950edf560>
File "tools/train.py", line 100, in main trainer.train() │ └ <function Trainer.train at 0x7fb950edf5f0> └ <yolox.core.trainer.Trainer object at 0x7fb950edacd0>
File "/media/ByteTrack/yolox/core/trainer.py", line 70, in train self.before_train() │ └ <function Trainer.before_train at 0x7fb9506267a0> └ <yolox.core.trainer.Trainer object at 0x7fb950edacd0>
File "/media/ByteTrack/yolox/core/trainer.py", line 133, in before_train model.to(self.device) │ │ │ └ 'cuda:0' │ │ └ <yolox.core.trainer.Trainer object at 0x7fb950edacd0> │ └ <function Module.to at 0x7fb95ec67c20> └ YOLOX( (backbone): YOLOPAFPN( (backbone): CSPDarknet( (stem): Focus( (conv): BaseConv( (conv): ...
Could you please provide more detailed error information?
Could you please provide more detailed error information? Thanks for your reply, I have solved it, it was a problem with the wrong path of my dataset.
Hello, there. I'm stuck on the same place,Could you please explain me, How can you solve that error,Thanks in advance.
Hello, there. I'm stuck on the same place,Could you please explain me, How can you solve that error,Thanks in advance.
Before running "mix_xxx.py", you need to create folders and links according to the comments in the code.
Could you please provide more detailed error information? Thanks for your reply, I have solved it, it was a problem with the wrong path of my dataset.
hello,i only use MOT17,and meet same problem,Could you please explain me, How can you solve that error,Thanks in advance
i have met the same problem。after installation,I test track and run test.json sucessfully。
python3 tools/track.py -f exps/example/mot/yolox_x_mix_mot20_ch.py -c pretrained/bytetrack_x_mot20.pth.tar -b 1 -d 0 --fp16 --fuse --match_thresh 0.7 --mot20
As I want to run on mot20 train,when I change test.json to train.json, I met the same problem
self.train_ann = "train.json"
self.val_ann = "train.json" # change to train.json when running on training set
Could you please provide more detailed error information?
来信已收到,谢谢~
I have solved it, the path is incorrect because I did not change the next location。 name='test', # change to train when running on training set
i have met the same problem。after installation,I test track and run test.json sucessfully。
python3 tools/track.py -f exps/example/mot/yolox_x_mix_mot20_ch.py -c pretrained/bytetrack_x_mot20.pth.tar -b 1 -d 0 --fp16 --fuse --match_thresh 0.7 --mot20As I want to run on mot20 train,when I change test.json to train.json, I met the same problem self.train_ann = "train.json" self.val_ann = "train.json" # change to train.json when running on training setCould you please provide more detailed error information?
来信已收到,谢谢~
how to slove it ,can you tell me?
来信已收到,谢谢~
来信已收到,谢谢~
Hi can anyone be more specific on how to solve this? Thanks in advance!
来信已收到,谢谢~