Inference on own images
sebastianopazo1 opened this issue · comments
Hello, I encountered a problem when running the inference script. I tried to apply the matting to my own image, but the output in the console shows a warning like the following.
/home/seba/anaconda3/envs/vmformer/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3441: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
/home/seba/anaconda3/envs/vmformer/lib/python3.7/site-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
pha_mad:nan
pha_mse:nan
pha_grad:nan
pha_conn:nan
pha_mad:nan
pha_mse:nan
pha_grad:nan
pha_conn:nan
What am I doing wrong?
Thanks for your help!