QVPR/Patch-NetVLAD

problem on training

bestwo01 opened this issue ยท 6 comments

Hello, professors. When I tried to train the MSLS dataset, there is an error, do you have any suggestions on this error?
command:
python train.py --config_path patchnetvlad/configs/train.ini --cache_path cache --save_path checkpoint --dataset_root_dir Dataset --nocuda
error:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (441280,) + inhomogeneous part.
image
image

It seems the training array has wrong dimensions and may be a numpy problem. Could you please tell me which numpy version did you use?

1.21 should work

Thanks for your reply. Which python version did you use?

Hi, I'm experiencing the same problem, have you solved it yet?

Thanks for your reply. Which python version did you use?

I find the same problem, and then change the version of numpy to 1.21.0, it's ok