I tried to run the code,but I got the error.
Traceback (most recent call last):
File "src/main.py", line 46, in
main()
File "src/main.py", line 13, in main
args.crop_size, args.padding, args.batch_size//2, False)
File "/home/m904/zl-ReID/MAR-master/src/utils.py", line 522, in get_transfer_dataloaders
target_data = Market('data/{}.mat'.format(target), state='train')
File "/home/m904/zl-ReID/MAR-master/src/ReIDdatasets.py", line 33, in init
self.data = np.transpose(temp.value, (0, 3, 2, 1))
File "<__array_function__ internals>", line 6, in transpose
File "/home/m904/.conda/envs/pytorch_wxy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 650, in transpose
return _wrapfunc(a, 'transpose', axes)
File "/home/m904/.conda/envs/pytorch_wxy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 61, in _wrapfunc
return bound(*args, **kwds)
ValueError: axes don't match array
I tried to run the code,but I got the error. Traceback (most recent call last): File "src/main.py", line 46, in
main()
File "src/main.py", line 13, in main
args.crop_size, args.padding, args.batch_size//2, False)
File "/home/m904/zl-ReID/MAR-master/src/utils.py", line 522, in get_transfer_dataloaders
target_data = Market('data/{}.mat'.format(target), state='train')
File "/home/m904/zl-ReID/MAR-master/src/ReIDdatasets.py", line 33, in init
self.data = np.transpose(temp.value, (0, 3, 2, 1))
File "<__array_function__ internals>", line 6, in transpose
File "/home/m904/.conda/envs/pytorch_wxy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 650, in transpose
return _wrapfunc(a, 'transpose', axes)
File "/home/m904/.conda/envs/pytorch_wxy/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 61, in _wrapfunc
return bound(*args, **kwds)
ValueError: axes don't match array