social-distancing-monitoring
social-distancing-monitoring copied to clipboard
too many indices for array: array is 1-dimensional, but 2 were indexed
..\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