WeiTang114 / MVCNN-TensorFlow

An Multi-View CNN (MVCNN) implementation with TensorFlow.
MIT License
120 stars 67 forks source link

at train.py I get error possibly due to empty val_lists.txt and test_lists.txt #18

Open calameron opened 6 years ago

calameron commented 6 years ago

I am new to Python. using 3.7 and run train.py as is File "C:\Users\Eternity\Documents\phd_thesisinter\u05de\u05e9\u05d9\u05de\u05d5\u05ea\u05de\u05d3\u05d5\u05e8\u05d5\u05df\u05e1\u05de\u05d9\u05e0\u05e8\u05dc\u05de\u05d9\u05d3\u05d4\u05e2\u05de\u05d5\u05e7\u05d4\project\code\mvcnn\MVCNN-TensorFlow-master\train.py", line 171, in main listfiles_val, labels_val = readlists(g.VAL_LOL) File "C:\Users\Eternity\Documents\phd_thesisinter\u05de\u05e9\u05d9\u05de\u05d5\u05ea\u05de\u05d3\u05d5\u05e8\u05d5\u05df\u05e1\u05de\u05d9\u05e0\u05e8\u05dc\u05de\u05d9\u05d3\u05d4\u05e2\u05de\u05d5\u05e7\u05d4\project\code\mvcnn\MVCNN-TensorFlow-master\train.py", line 182, in read_lists listfiles, labels = zip(*[(l[0], int(l[1])) for l in listfile_labels]) ValueError: not enough values to unpack (expected 2, got 0) [Finished in 6.3s]

WeiTang114 commented 6 years ago

Cool, I will fix this. (Ignore empty lines) Thanks.

Ameliecc commented 2 years ago

Hi~I met the same problem as you, how did you solve it later?