greatlog / DAN

This is an official implementation of Unfolding the Alternating Optimization for Blind Super Resolution
231 stars 41 forks source link

RuntimeError #2

Closed splinter21 closed 3 years ago

splinter21 commented 3 years ago

RuntimeError: ../../../checkpoints/DANx4.pth is a zip archive (did you mean to use torch.jit.load()?)

/DAN-master/codes/config/DAN/models/base_model.py", line 96, in load_network load_net = torch.load(load_path)

greatlog commented 3 years ago

How do you download the checkpoints? I re-download these files and they can be loaded successfully on my computer.

splinter21 commented 3 years ago

111 222

I downloaded DANx4.pth from BaiduDrive. And it can be unziped. (to unzip it on windows I change the suffix to .zip)

KevinJ-Huang commented 3 years ago

The same problem, have you solved it?

953250587 commented 3 years ago

pytorch 1.6.0 can work