Closed ZhengmaoHe closed 1 year ago
Hi @MariaBana ,
Unfortunately I've noticed unpickling .pt
files on a new machine can be unreliable. I switched to .jit
files for deployment and the play script https://github.com/Improbable-AI/walk-these-ways/blob/master/scripts/play.py.
I haven't figured out why yet, but I think it can result from different pickle version, different torch version, other differences in dependencies, or a corrupted .pt
file. If the .pt
file was corrupted during download, you could try deleting it and re-downloading it from Github. Otherwise, the most certain solution will be to train a new model from scratch in your own development setup, and then try loading that model, since you'll know it's in the correct format
-Gabe
Thank you for your suggestion. After various attempts, I finally solved this problem by directly using
weights = torch.load(RunnerArgs.resume_path)
, which might be helpful for others.
Thank you for your suggestion. After various attempts, I finally solved this problem by directly using
weights = torch.load(RunnerArgs.resume_path)
, which might be helpful for others.
Excuse me, can you post the modification code here?
Thank you for this awesome work!
I want to resume training, but now I have some problems. According to my understanding, I modified the following code in
go1_gym_learn/ppo_cse/__init__.py
and tried to resume training.After starting the traning I can see the corresponding output in ml_dash.server
and
Could you give me some advice to solve this problem?