PyTorch-YOLOv3 icon indicating copy to clipboard operation
PyTorch-YOLOv3 copied to clipboard

not enough values to unpack (expected 2, got 1)

Open Alexyitx opened this issue 5 years ago • 2 comments

python3 train.py --data_config config/yolov3-tiny.cfg --pretrained_weights weights/yolov3-tiny.weights

Traceback (most recent call last): File "train.py", line 50, in data_config = parse_data_config(opt.data_config) File "/home/ubuntu/myfile/project/Pytorch_YoloV3/PyTorch-YOLOv3/utils/parse_config.py", line 34, in parse_data_config key, value = line.split('=') ValueError: not enough values to unpack (expected 2, got 1)

Alexyitx avatar Sep 25 '19 11:09 Alexyitx

Check your config file. If you have lines commented with ; semicolon just replaced them with #

ioneliabuzatu avatar Sep 27 '19 14:09 ioneliabuzatu

data_config should be coco.data and not yolov3-tiny.cfg

shashankvkt avatar Sep 28 '19 17:09 shashankvkt