hcguoO0/FIA

Hi, there is a issue when I run verify.py

Closed this issue · 4 comments

(0) Data loss: Unable to open table file ./models_tf/ens3_adv_inception_v3/ens3_adv_inception_v3.ckpt: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?

the model i use is ens3_adv_incetption_v3, Could you reply me?

I don't use a different restore operator,
do you download checkpoint files from https://github.com/tensorflow/models/tree/archive/research/adv_imagenet_models ?
and these are some information about the checkpoint file size, you can check whether something is wrong.
-rw-rw-r-- 1 hcguo hcguo 108728784 Jun 12 14:55 ens3_adv_inception_v3.ckpt.data-00000-of-00001
-rw-rw-r-- 1 hcguo hcguo 17230 Jun 12 14:55 ens3_adv_inception_v3.ckpt.index
-rw-rw-r-- 1 hcguo hcguo 1765911 Jun 12 14:55 ens3_adv_inception_v3.ckpt.meta

you don't need to rename the files, you just need to put those 3 files in the folder ./models_tf/ens3_adv_inception_v3/

I did like this firstly, but it didn't work. I found someone have the same problem with me, tensorflow/models#2675