ruotianluo / DiscCaptioning

Code for Discriminability objective for training descriptive captions(CVPR 2018)
110 stars 21 forks source link

Unable to download pretrained models #9

Closed pxu4114 closed 6 years ago

pxu4114 commented 6 years ago

Thanks for the implementation.

I downloaded the pre-trained models but the file is not a folder which eval.sh code is asking for and the downloaded file is in a file format which is not accessible.

I think the file gets corrupted after downloading from the drive.

IOError: [Errno 20] Not a directory: 'log_att_d1/infos_att_d1.pkl'

ruotianluo commented 6 years ago

It's not corrupted. Did you extract to current directory or into folder log_att_d1

pxu4114 commented 6 years ago

Thank you for the response.

After extracting the downloaded tar file, I am getting a file name 'log_att_d' but it was not a folder. The type of the file was the file and ideally, it should be a folder with a .pkl file in it. The extracted file is not accessible.

ruotianluo commented 6 years ago

Can you download log_att_d1.tar again. It's correct on my side.

pxu4114 commented 6 years ago

Problem solved. Thank you