Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurs when running test_pre_process.py for alignment #64

Open
czHappy opened this issue Jul 18, 2020 · 0 comments
Open

Error occurs when running test_pre_process.py for alignment #64

czHappy opened this issue Jul 18, 2020 · 0 comments

Comments

@czHappy
Copy link

czHappy commented Jul 18, 2020

(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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant