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

Warning with number of classes when evaluating the model on nuScenes #16

Open
shan18 opened this issue Feb 13, 2023 · 0 comments
Open

Comments

@shan18
Copy link

shan18 commented Feb 13, 2023

Hi, I downloaded the pre-trained model (open-loop planning on nuScenes) given in the README and tried to run the evaluation script on it:

bash scripts/eval_plan.sh <path to STP3_plan.ckpt> <path to nuScenes dataroot>

But when I run this script, I get the following warning:

.../python3.7/site-packages/pytorch_lightning/utilities/distributed.py:52: RuntimeWarning: You have set 2 number of classes which is different from predicted (1) and target (1) number of classes

When I checked the code, I see that the number of classes is loaded automatically from the config stored in the checkpoint. Can you please give me any pointers as to how I can resolve this warning?

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