aravind@aravind-Latitude-E6420:ML$ python3 run_detector.py
[W NNPACK.cpp:64] Could not initialize NNPACK! Reason: Unsupported hardware.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/aravind/work/pp/machine_learning/BlazePalm/ML/run_detector.py", line 33, in <module>
cropped_hand = np.pad(cropped_hand,
File "<__array_function__ internals>", line 200, in pad
File "/home/aravind/.local/lib/python3.10/site-packages/numpy/lib/arraypad.py", line 744, in pad
pad_width = _as_pairs(pad_width, array.ndim, as_index=True)
File "/home/aravind/.local/lib/python3.10/site-packages/numpy/lib/arraypad.py", line 518, in _as_pairs
return np.broadcast_to(x, (ndim, 2)).tolist()
File "<__array_function__ internals>", line 200, in broadcast_to
File "/home/aravind/.local/lib/python3.10/site-packages/numpy/lib/stride_tricks.py", line 413, in broadcast_to
return _broadcast_to(array, shape, subok=subok, readonly=True)
File "/home/aravind/.local/lib/python3.10/site-packages/numpy/lib/stride_tricks.py", line 349, in _broadcast_to
it = np.nditer(
ValueError: operands could not be broadcast together with remapped shapes [original->remapped]: (2,2) and requested shape (3,2)
Please help.