deep-learning-for-image-processing
deep-learning-for-image-processing copied to clipboard
yolov3_spp运行报错,运行到datasets.py中line259报错:
发生异常: ValueError
setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5717,) + inhomogeneous part.
File "D:\file\objectsegmentation\yolov3_spp\build_utils\datasets.py", line 259, in init
np.save(np_labels_path, self.labels) # save for next time
File "D:\file\objectsegmentation\yolov3_spp\train.py", line 153, in train
train_dataset = LoadImagesAndLabels(train_path, imgsz_train, batch_size,
File "D:\file\objectsegmentation\yolov3_spp\train.py", line 302, in
注释掉即可