You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am reading your excellent code.
I found a small bug that failing to load the imitation model.
I suggest replacing model.load_state_dict_rl(torch.load(il_weight_file)) with policy.load_state_dict_rl(torch.load(il_weight_file)) in line 138 in train.py.
Thanks!
Activity
ChanganVR commentedon Apr 22, 2021
It looks like by default the policy saves the weights of policy.model
RelationalGraphLearning/crowd_sim/envs/policy/policy.py
Lines 39 to 40 in 8e87aa5
Only in model-predictive RL, it saves the weights differently. Were you trying to load the weights of model-predictive RL as initialization?