-
Notifications
You must be signed in to change notification settings - Fork 119
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
Question about applying ckeckpoint into a real example #4
Comments
Checkpiont is the save dir of trained model, to test on you own instances, you need to transform your instance parameters into the VehicleRoutingDataset class in VRP.py. |
Thanks @HuangYanfei |
I think I know how to use the checkpoint file. Folder of checkpoint files has the same path with the generated pictures. |
Hi, I would appreciate it if someone can tell me the correct path of 'actor.pt' and 'critic.pt' to restore checkpoint. Thanks! |
The readme outlines how to restore a checkpoint. If you download the sample weights folder, you can point to a given directory:
If you want to use your own data, as @HuangYanfei mentioned, you will need to replace the It is important to note however, that data for this problem is generated by sampling uniformly between the interval of [0, 1]. If you are trying to apply a checkpoint directly to real-life data that comes from a different distribution, you might get different results, and would likely need to train a model from scratch |
Hi,
Could you please explain more about how to apply the checkpoint into a real example?
Thanks a lot!
The text was updated successfully, but these errors were encountered: