Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem on training #75

Closed
bestwo01 opened this issue Apr 20, 2023 · 6 comments
Closed

problem on training #75

bestwo01 opened this issue Apr 20, 2023 · 6 comments

Comments

@bestwo01
Copy link

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

@bestwo01
Copy link
Author

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?

@Tobias-Fischer
Copy link
Contributor

1.21 should work

@bestwo01
Copy link
Author

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

@Tobias-Fischer
Copy link
Contributor

3.9

@Tian0906
Copy link

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

@vampire1204
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants