Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use checkpoints of MobileNet, including ckpt.meta, ckpt.index, and ckpt.data #12

Open
zengsn opened this issue Mar 17, 2018 · 2 comments

Comments

@zengsn
Copy link

zengsn commented Mar 17, 2018

The checkpoints of pre-trained MobileNet are as follows:

mobilenet_v1_1.0_224.ckpt.data-00000-of-00001
mobilenet_v1_1.0_224.ckpt.index
mobilenet_v1_1.0_224.ckpt.meta

rather than one single checkpoint file like:

resnet_v1_101.ckpt

I take a look at the code in feature_extractor.py. It looks that using a directory was not working.

# Find the checkpoint file
        checkpoint_path = self._checkpoint_path
        if tf.gfile.IsDirectory(self._checkpoint_path):
          checkpoint_path = tf.train.latest_checkpoint(self._checkpoint_path) 

Could you pls give an advice?

@jackchowtop1
Copy link

have you solve this problem,i also wang to extract features using checkpoint file, thanks

@zengsn
Copy link
Author

zengsn commented Apr 12, 2018

@jackchowtop1 Not yet. I am still working on. But I can extract features on most models. Pls see https://github.com/zengsn/TF_FeatureExtraction/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants