Faster_RCNN_for_Open_Images_Dataset_Keras icon indicating copy to clipboard operation
Faster_RCNN_for_Open_Images_Dataset_Keras copied to clipboard

ValueError: too many values to unpack when loading data

Open hweelin-yeo opened this issue 5 years ago • 1 comments

Unable to load the data:


ValueError Traceback (most recent call last) in 3 #--------------------------------------------------------# 4 st = time.time() ----> 5 train_imgs, classes_count, class_mapping = get_data(train_path) 6 print() 7 print('Spend %0.2f mins to load the data' % ((time.time()-st)/60) )

in get_data(input_path) 47 # ---------------------x2,y2 48 ---> 49 (filename,x1,y1,x2,y2,class_name) = line_split 50 51 if class_name not in classes_count:

ValueError: too many values to unpack (expected 6)

hweelin-yeo avatar Jun 26 '19 09:06 hweelin-yeo

Hey @hweelin-yeo can you help me through my issue, because I have almost same problem, my issue is: https://github.com/RockyXu66/Faster_RCNN_for_Open_Images_Dataset_Keras/issues/55 It is about directories in google colab and upload which file where!! I misunderstood.

PeymanBaghdadi avatar Apr 18 '20 10:04 PeymanBaghdadi