Skip to content

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

@shan18

Description

@shan18

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions