Skip to content

Commit

Permalink
change the name
Browse files Browse the repository at this point in the history
  • Loading branch information
lenarttreven committed Oct 3, 2023
1 parent ee68d66 commit 9c8f70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim_transfer/rl/rl_on_offline_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def prepare_policy_from_offline_data(self,
directory = os.path.join(wandb.run.dir, 'models')
if not os.path.exists(directory):
os.makedirs(directory)
model_path = os.path.join('models', 'bnn_svgd_model_on_20_000_points.pkl')
model_path = os.path.join('models', 'bnn_model.pkl')
with open(os.path.join(wandb.run.dir, model_path), 'wb') as handle:
pickle.dump(bnn_model, handle)
wandb.save(os.path.join(wandb.run.dir, model_path), wandb.run.dir)
Expand Down

0 comments on commit 9c8f70c

Please sign in to comment.