transformer-inertial-poser icon indicating copy to clipboard operation
transformer-inertial-poser copied to clipboard

ValueError: zero-size array to reduction operation maximum which has no identity

Open Recialhot opened this issue 11 months ago • 1 comments

when i run offline_testing_simple.py ,it causes:

Traceback (most recent call last): File "transformer-inertial-poser/offline_testing_simple.py", line 460, in print(np.max(losses_angle), test_files_included[np.argmax(losses_angle)]) File "<array_function internals>", line 180, in amax File ".conda/envs/avatarjlm/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 2793, in amax return _wrapreduction(a, np.maximum, 'max', axis, None, out, File ".conda/envs/avatarjlm/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction return ufunc.reduce(obj, axis, dtype, out, **passkwargs) ValueError: zero-size array to reduction operation maximum which has no identity

thanks your help

Recialhot avatar Mar 26 '24 11:03 Recialhot