C3D-tensorflow icon indicating copy to clipboard operation
C3D-tensorflow copied to clipboard

ValueError: Range cannot be empty (low >= high) unless no samples are taken

Open hajra1995 opened this issue 5 years ago • 0 comments

Traceback (most recent call last):

  File "<ipython-input-4-a459e8a3dd1f>", line 1, in <module>
    runfile('D:/Hajra/C3D/m_c3d_Mhuhavi_Finetune.py', wdir='D:/Hajra/C3D')

  File "C:\Users\c2vr\AppData\Local\conda\conda\envs\tensorflow_env\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile
    execfile(filename, namespace)

  File "C:\Users\c2vr\AppData\Local\conda\conda\envs\tensorflow_env\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "D:/Hajra/C3D/m_c3d_Mhuhavi_Finetune.py", line 359, in <module>
    demo_finetune()

  File "D:/Hajra/C3D/m_c3d_Mhuhavi_Finetune.py", line 341, in demo_finetune
    voxel, cls = read_train(tr_file)

  File "D:/Hajra/C3D/m_c3d_Mhuhavi_Finetune.py", line 201, in read_train
    start = np.random.randint(int(frm) - FRAMES)

where Frames = 16 and BATCH_SIZE = 32

hajra1995 avatar Apr 05 '19 05:04 hajra1995