senguptaumd / Background-Matting

Background Matting: The World is Your Green Screen
https://grail.cs.washington.edu/projects/background-matting/
4.78k stars 662 forks source link

Error occurs when running test_pre_process.py for alignment #64

Open czHappy opened 4 years ago

czHappy commented 4 years ago

(python367) root@d01acfa5ae2d:~/matting/Background-Matting# python test_pre_process.py -i sample_data/input Traceback (most recent call last): File "test_pre_process.py", line 108, in back_align = alignImages(back, image,mask) File "test_pre_process.py", line 51, in alignImages mask_rep1=np.logical_and(mask_rep , masksDL[...,0]==255) TypeError: 'NoneType' object is not subscriptable

I don't know why. Please tell me if someone knows how to solve it, thanks.