agem icon indicating copy to clipboard operation
agem copied to clipboard

Could you provide the ResNet-18 ImageNet weights ckpt file?

Open tyler-hayes opened this issue 4 years ago • 5 comments

Hi,

I am trying to run the CUB-200 experiments from pre-trained ImageNet weights and was wondering if you could provide the following file:

RESNET18_IMAGENET_CHECKPOINT = './resnet-18-pretrained-imagenet/model.ckpt'

Thanks!

tyler-hayes avatar Jul 27 '19 23:07 tyler-hayes

The script `https://github.com/facebookresearch/agem/blob/master/download_cub_awa.sh' contains the link to download the file.

arslan-chaudhry avatar Aug 30 '19 18:08 arslan-chaudhry

@arslan-chaudhry the link for the resnet18 pretrained weights is broken. Could you please provide anther source for the ckpt? Thanks in advance

EladDan avatar May 19 '20 02:05 EladDan

Any updates on this ? @EladDan @arslan-chaudhry

ssydasheng avatar Apr 29 '21 21:04 ssydasheng

@arslan-chaudhry the link for the resnet-18-pretrained-imagenet is broken.Could you please provide anther source for the ckpt? Thanks in advance

houshangwu avatar Apr 06 '22 11:04 houshangwu

To unblock yourself, you can download the pre-trained ResNet-18 from here:

https://www.dropbox.com/s/vs50vpm8c5l7hc6/model.ckpt.data-00000-of-00001?dl=0 https://www.dropbox.com/s/sl6hbk2ajs1b1ae/model.ckpt.index?dl=0 https://www.dropbox.com/s/su0352nuco3dbb8/model.ckpt.meta?dl=0

Replace the lines 31-33 in download_cub_awa.sh with

wget -O model.ckpt.data-00000-of-00001 https://www.dropbox.com/s/vs50vpm8c5l7hc6/model.ckpt.data-00000-of-00001?dl=0
wget -O model.ckpt.index https://www.dropbox.com/s/sl6hbk2ajs1b1ae/model.ckpt.index?dl=0
wget -O model.ckpt.meta https://www.dropbox.com/s/su0352nuco3dbb8/model.ckpt.meta?dl=0

I should send a fix to the original script.

arslan-chaudhry avatar Apr 07 '22 19:04 arslan-chaudhry