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

How to load model weights in adv_scenario_gen.py? #3

Open
gracexmatin opened this issue Dec 2, 2023 · 2 comments
Open

How to load model weights in adv_scenario_gen.py? #3

gracexmatin opened this issue Dec 2, 2023 · 2 comments

Comments

@gracexmatin
Copy link

gracexmatin commented Dec 2, 2023

No description provided.

@gracexmatin
Copy link
Author

微信截图_20231202234150

@davrempe
Copy link
Collaborator

davrempe commented Dec 6, 2023

Please make sure to carefully follow the README here to download the pre-trained model weights. You should place them in a directory called model_ckpt after downloading.

Then you can call adv_scenario_gen.py with a command that points to these weights as shown here in the README. Make sure to update the --ckpt argument to point to the downloaded weights. For example, --ckpt ./model_ckpt/traffic_model.pth.

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

2 participants