Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into main
  • Loading branch information
CCareaga committed Jan 3, 2024
2 parents fbd119e + cdd5119 commit e1021ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intrinsic_compositing/shading/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def load_reshading_model(path, device='cuda'):

if path == 'paper_weights':
state_dict = torch.hub.load_state_dict_from_url('https://github.com/compphoto/IntrinsicCompositing/releases/download/1.0.0/shading_paper_weights.pt', map_location=device, progress=True)
if path == 'further_trained'
if path == 'further_trained':
state_dict = torch.hub.load_state_dict_from_url('https://github.com/compphoto/IntrinsicCompositing/releases/download/1.0.0/further_trained.pt', map_location=device, progress=True)
else:
state_dict = torch.load(path)
Expand Down

0 comments on commit e1021ef

Please sign in to comment.