Skip to content

Commit

Permalink
Fix test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyuliutw committed May 2, 2018
1 parent 1466a00 commit 9121f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main(argv):
opts.num_style = 1 if opts.style != '' else opts.num_style

# Setup model and data loader
trainer = MUNIT_Trainer(config,opts)
trainer = MUNIT_Trainer(config)
state_dict = torch.load(opts.checkpoint)
trainer.gen_a.load_state_dict(state_dict['a'])
trainer.gen_b.load_state_dict(state_dict['b'])
Expand Down

0 comments on commit 9121f3a

Please sign in to comment.