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

The evaluate quesion:when load_state_dict #26

Open
mingtouyizu opened this issue Jul 13, 2024 · 2 comments
Open

The evaluate quesion:when load_state_dict #26

mingtouyizu opened this issue Jul 13, 2024 · 2 comments

Comments

@mingtouyizu
Copy link

When I use the evaluation code of BLIVA, everything is normal. However, when I use the evaluation code of LAVIS, there is an error of missing model parameters: The model used is as follows: ... . The location of the error in the code is as follows:
image
Missing parameter picture:
image

@mingtouyizu
Copy link
Author

Can anyone sovle my issue?

@mingtouyizu
Copy link
Author

I have identified the issue; it occurred when running evaluate.py with torch.distributed.run --nproc_per_node=4. After removing it, the program runs normally. But what I want to know now is how to use torch.distributed.run.

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

1 participant