You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
..\torch\csrc\utils\python_arg_parser.cpp:756: UserWarning: This overload of nonzero is deprecated:
nonzero(Tensor input, *, Tensor out)
Consider using one of the following signatures instead:
nonzero(Tensor input, *, bool as_tuple)
Traceback (most recent call last):
File "C:/Users/fengxd/Desktop/code/social-distancing-monitoring-master/detect.py", line 170, in
main(dataset=dataset, data_time=data_time, detector=detector)
File "C:/Users/fengxd/Desktop/code/social-distancing-monitoring-master/detect.py", line 113, in main
pts_world[:, [0, 1]] = pts_world[:, [1, 0]]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
The text was updated successfully, but these errors were encountered:
..\torch\csrc\utils\python_arg_parser.cpp:756: UserWarning: This overload of nonzero is deprecated:
nonzero(Tensor input, *, Tensor out)
Consider using one of the following signatures instead:
nonzero(Tensor input, *, bool as_tuple)
Traceback (most recent call last):
File "C:/Users/fengxd/Desktop/code/social-distancing-monitoring-master/detect.py", line 170, in
main(dataset=dataset, data_time=data_time, detector=detector)
File "C:/Users/fengxd/Desktop/code/social-distancing-monitoring-master/detect.py", line 113, in main
pts_world[:, [0, 1]] = pts_world[:, [1, 0]]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
The text was updated successfully, but these errors were encountered: