I am unable to run the python script the following error throwing when i try run the file:
Traceback (most recent call last):
File “/home/ubuntu/Downloads/SiamTrackers-master/NanoTrack/bin/demo.py”, line 143, in
main()
File “/home/ubuntu/Downloads/SiamTrackers-master/NanoTrack/bin/demo.py”, line 116, in main
tracker.init(frame, init_rect)
File “/home/ubuntu/Downloads/SiamTrackers-master/NanoTrack/nanotrack/tracker/nano_tracker.py”, line 84, in init
z_crop = self.get_subwindow(img, self.center_pos,
File “/home/ubuntu/Downloads/SiamTrackers-master/NanoTrack/nanotrack/tracker/base_tracker.py”, line 92, in get_subwindow
im_patch = torch.from_numpy(im_patch)
TypeError: expected np.ndarray (got numpy.ndarray)
Hi,
This looks like a user-space error.
Please check with the sample owner to see which NumPy version they need.
Thanks.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.