Namespace' object has no attribute 'cache'
When I tried to run the custom dataset, by creating the EXP file like shown in tutorial , this error occur.
File "/mnt/d/PycharmProjects/YOLOX/YOLOX/yolox/core/launch.py", line 98, in launch main_func(*args) │ └ (╒══════════════════╤════════════════════════════════════════════════════════════════════════════════════════════════════════... └ <function main at 0x7f4d8504f9d0>
File "tools/train.py", line 100, in main trainer.train() │ └ <function Trainer.train at 0x7f4d867fdc10> └ <yolox.core.trainer.Trainer object at 0x7f4d85055e20>
File "/mnt/d/PycharmProjects/YOLOX/YOLOX/yolox/core/trainer.py", line 70, in train self.before_train() │ └ <function Trainer.before_train at 0x7f4d85031430> └ <yolox.core.trainer.Trainer object at 0x7f4d85055e20>
File "/mnt/d/PycharmProjects/YOLOX/YOLOX/yolox/core/trainer.py", line 149, in before_train cache_img=self.args.cache, │ └ Namespace(batch_size=1, ckpt='pretrained/yolox_s.pth', devices=1, dist_backend='nccl', dist_url=None, exp_file='exps/example/... └ <yolox.core.trainer.Trainer object at 0x7f4d85055e20>
AttributeError: 'Namespace' object has no attribute 'cache'
It seems you are using a new version of YOLOX, we use the old version.
@ifzhang Thank you very much for your reply. Do you use "0.1.0 release", of YOLOX?
May I ask that How can I replace YOLOX with the new version
It seems you are using a new version of YOLOX, we use the old version.where l can find the old version?