xinntao / EDVR

Winning Solution in NTIRE19 Challenges on Video Restoration and Enhancement (CVPR19 Workshops) - Video Restoration with Enhanced Deformable Convolutional Networks. EDVR has been merged into BasicSR and this repo is a mirror of BasicSR.
https://github.com/xinntao/BasicSR
1.49k stars 318 forks source link

Error on start #36

Open mixtresh opened 5 years ago

mixtresh commented 5 years ago

(base) t:\EDVR\codes>python test_Vid4_REDS4_with_GT2.py 19-06-15 20:53:29.080 - INFO: Data: my - ../datasets/tammy/* 19-06-15 20:53:29.081 - INFO: Padding mode: replicate 19-06-15 20:53:29.082 - INFO: Model path: ../experiments/pretrainedmodels/EDVR Vimeo90K_SR_L.pth 19-06-15 20:53:29.084 - INFO: Save images: True 19-06-15 20:53:29.085 - INFO: Flip Test: False Traceback (most recent call last): File "test_Vid4_REDS4_with_GT2.py", line 284, in main() File "test_Vid4_REDS4_with_GT2.py", line 177, in main imgs = read_seq_imgs(sub_folder) File "test_Vid4_REDS4_with_GT2.py", line 105, in read_seq_imgs imgs = np.stack(img_l, axis=0) File "C:\Anaconda\lib\site-packages\numpy\core\shape_base.py", line 349, in st ack raise ValueError('need at least one array to stack') ValueError: need at least one array to stack

xinntao commented 5 years ago

Sorry for the late reply. It seems that you tried to stack empty array. Try to check whether it reads images to img_l.