https://github.com/tsingqguo/efficientderain/blob/465759da2428a4263eeee6ab464a0135fca2900c/utils.py#L26 `torch.load(opt.load_name, map_location=torch.device('cpu'))`
efficientderain/utils.py
Line 26 in 465759d
torch.load(opt.load_name, map_location=torch.device('cpu'))