LossNAN / I3D-Tensorflow

Train I3D model on ucf101 or hmdb51 by tensorflow
Apache License 2.0
112 stars 28 forks source link

train_ucf_rgb ValueError: empty range for randrange() (0,-63, -63) #21

Closed kaifeng777 closed 5 years ago

kaifeng777 commented 5 years ago

File "/usr/代码/I3D-Tensorflow-master/input_data.py", line 65, in get_data s_index = random.randint(0, len(filenames) - num_frames_per_clip) File "/usr/lib/python2.7/random.py", line 242, in randint return self.randrange(a, b+1) File "/usr/lib/python2.7/random.py", line 218, in randrange raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width) ValueError: empty range for randrange() (0,-63, -63)

Do you have any suggestions?Thanks.

sungyihsun commented 4 years ago

How to solve ?

yangjinghit commented 4 years ago

video文件目录不对, filename/filename.avi filename/i filename/x filename/y