Megvii-BaseDetection / YOLOX

YOLOX is a high-performance anchor-free YOLO, exceeding yolov3~v5 with MegEngine, ONNX, TensorRT, ncnn, and OpenVINO supported. Documentation: https://yolox.readthedocs.io/
Apache License 2.0
9.36k stars 2.2k forks source link

yolox/exp/base_exp.py", line 64, in merge assert len(cfg_list) % 2 == 0 #1136

Open gledsonmelotti opened 2 years ago

gledsonmelotti commented 2 years ago

What does it mean "yolox/exp/base_exp.py", line 64, in merge assert len(cfg_list) % 2 == 0 AssertionError"? How to avoid such an error?

FateScript commented 2 years ago

You could update value in exp through cli at the end, e.g. data_num_workers 0 at the end of your cli command. Both key and value should be provided, so length of config list should be even. Exception might be raised when you are using wrong command, please use --help or double check your command.

gledsonmelotti commented 2 years ago

Thank you very much, I will try your suggestions.