Skip to content

Commit

Permalink
space before equal sign
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdidc committed Jun 15, 2021
1 parent dda155f commit 7c631fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_dalle.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def cp_path_to_dir(cp_path, tag):
assert dalle_path.exists(), 'DALL-E model file does not exist'
loaded_obj = torch.load(str(dalle_path), map_location='cpu')

dalle_params, vae_params, weights= loaded_obj['hparams'], loaded_obj['vae_params'], loaded_obj['weights']
dalle_params, vae_params, weights = loaded_obj['hparams'], loaded_obj['vae_params'], loaded_obj['weights']
opt_state = loaded_obj.get('opt_state')
scheduler_state = loaded_obj.get('scheduler_state')

Expand Down

0 comments on commit 7c631fb

Please sign in to comment.