aamsko commited on
Commit
22cf165
Β·
verified Β·
1 Parent(s): d148b81

Update model/dress_enhancer.py

Browse files
Files changed (1) hide show
  1. model/dress_enhancer.py +1 -1
model/dress_enhancer.py CHANGED
@@ -20,7 +20,7 @@ def load_swinir_model():
20
  upsampler='nearest+conv',
21
  resi_connection='1conv'
22
  )
23
- model_path = 'https://github.com/JingyunLiang/SwinIR/releases/download/v0.0.3/swinir_sr_classical_patch64_x4_48.pth'
24
  ckpt = torch.hub.load_state_dict_from_url(model_path, map_location='cpu')
25
  model.load_state_dict(ckpt['params'], strict=True)
26
  model.eval()
 
20
  upsampler='nearest+conv',
21
  resi_connection='1conv'
22
  )
23
+ model_path = 'https://github.com/JingyunLiang/SwinIR/releases/tag/v0.0/001_classicalSR_DF2K_s64w8_SwinIR-M_x4.pth'
24
  ckpt = torch.hub.load_state_dict_from_url(model_path, map_location='cpu')
25
  model.load_state_dict(ckpt['params'], strict=True)
26
  model.eval()