WendellGul / DCMH

PyTorch implementation for paper "Deep Cross-Modal Hashing"
110 stars 33 forks source link

Requesting pretrained vgg-net model. #3

Closed prraoo closed 5 years ago

prraoo commented 5 years ago

Hello, @WendellGul thanks for the code.

I am trying to use your code, unfortunately, I am unable to download the pre-trained model from the Baidu server.

I tried using "imagenet-vgg-f.mat" fromhttp://www.vlfeat.org/matconvnet/pretrained/ but I am getting the following error: File "/home/codes/DCMH_pytorch/models/img_module.py", line 63, in _init self.mean = torch.from_numpy(data['normalization'][0][0][0].transpose()).type(torch.float) KeyError: 'normalization' Is there any other way you can share the pre-trained model?

WendellGul commented 5 years ago

Perhaps you can download the pre-trained model here: https://www.dropbox.com/s/1g5brlygdw9us0a/imagenet-vgg-f.mat?dl=0

prraoo commented 5 years ago

Thank you