VMFormer icon indicating copy to clipboard operation
VMFormer copied to clipboard

Inference on own images

Open sebastianopazo1 opened this issue 6 months ago • 0 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!

sebastianopazo1 avatar Dec 11 '23 19:12 sebastianopazo1