Hello, I encountered the following problem when using benchmark.py to conduct FPS testing on my own data set. Can you give me some guidance? Thank you! My mmseg version is the latest. It's worth mentioning that it always gives an error at the end of the 112th picture, and the number of pictures in my test set happens to be 112. Could this be a problem with my dataset?
Done image [112/ 200], fps: 0.17 img / s
/home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/fromnumeric.py:3464: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/_methods.py:192: RuntimeWarning: invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
/home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/fromnumeric.py:3747: RuntimeWarning: Degrees of freedom <= 0 for slice
return _methods._var(a, axis=axis, dtype=dtype, out=out, ddof=ddof,
/home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/_methods.py:226: RuntimeWarning: invalid value encountered in divide
arrmean = um.true_divide(arrmean, div, out=arrmean,
/home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/_methods.py:261: RuntimeWarning: invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
Average fps of 1 evaluations: nan
The variance of 1 evaluations: nan
Hello, I encountered the following problem when using benchmark.py to conduct FPS testing on my own data set. Can you give me some guidance? Thank you! My mmseg version is the latest. It's worth mentioning that it always gives an error at the end of the 112th picture, and the number of pictures in my test set happens to be 112. Could this be a problem with my dataset? Done image [112/ 200], fps: 0.17 img / s /home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/fromnumeric.py:3464: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, /home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/_methods.py:192: RuntimeWarning: invalid value encountered in scalar divide ret = ret.dtype.type(ret / rcount) /home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/fromnumeric.py:3747: RuntimeWarning: Degrees of freedom <= 0 for slice return _methods._var(a, axis=axis, dtype=dtype, out=out, ddof=ddof, /home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/_methods.py:226: RuntimeWarning: invalid value encountered in divide arrmean = um.true_divide(arrmean, div, out=arrmean, /home/liz/anaconda3/envs/final/lib/python3.8/site-packages/numpy/core/_methods.py:261: RuntimeWarning: invalid value encountered in scalar divide ret = ret.dtype.type(ret / rcount) Average fps of 1 evaluations: nan The variance of 1 evaluations: nan