Open guyuetian1213 opened 3 years ago
Same issue when resume training. Did you fix it?
add your config in this line opt.cfg, opt.weights, opt.resume = './cfg/yolov4.cfg', ckpt, True. It works for me
Same issue when resume training. Did you fix it?
Traceback (most recent call last): File "D:/pytorch-yolo/yovov4/PyTorch_YOLOv4-master/train.py", line 438, in
train(hyp, opt, device, tb_writer)
File "D:/pytorch-yolo/yovov4/PyTorch_YOLOv4-master/train.py", line 65, in train
model = Darknet(opt.cfg).to(device) # create
File "D:\pytorch-yolo\yovov4\PyTorch_YOLOv4-master\models\models.py", line 280, in init
self.module_defs = parse_model_cfg(cfg)
File "D:\pytorch-yolo\yovov4\PyTorch_YOLOv4-master\utils\parse_config.py", line 13, in parse_model_cfg
with open(path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '.cfg'
I meet this issue,can you heip me fix it?