we0091234 / Chinese_license_plate_detection_recognition

yolov5 车牌检测 车牌识别 中文车牌识别 检测 支持12种中文车牌 支持双层车牌
GNU General Public License v3.0
1.34k stars 224 forks source link

请问有遇到这个问题的吗 该怎么解决呢? #15

Open littleloverlalala opened 1 year ago

littleloverlalala commented 1 year ago

Traceback (most recent call last): File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\train.py", line 520, in train(hyp, opt, device, tb_writer, wandb) File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\train.py", line 187, in train dataloader, dataset = create_dataloader(train_path, imgsz, batch_size, gs, opt, File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\utils\face_datasets.py", line 62, in create_dataloader dataset = LoadFaceImagesAndLabels(path, imgsz, batch_size, File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\utils\face_datasets.py", line 164, in init labels, shapes = zip(*cache.values()) ValueError: not enough values to unpack (expected 2, got 0)

we0091234 commented 1 year ago

Traceback (most recent call last): File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\train.py", line 520, in train(hyp, opt, device, tb_writer, wandb) File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\train.py", line 187, in train dataloader, dataset = create_dataloader(train_path, imgsz, batch_size, gs, opt, File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\utils\face_datasets.py", line 62, in create_dataloader dataset = LoadFaceImagesAndLabels(path, imgsz, batch_size, File "D:\huohu\Chinese_license_plate_detection_recognition-main\Chinese_license_plate_detection_recognition-main\utils\face_datasets.py", line 164, in init labels, shapes = zip(*cache.values()) ValueError: not enough values to unpack (expected 2, got 0)

没有啊,你加群问问吧,看看群友有没有遇到过