Skip to content

Model Garden : How to continue training with tfm.core.train_lib.run_experiment()? #11272

Answered by stefan-it
Pormons asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Pormons ,

I'm not vision export but I saw this checkpoint loading in other examples.

E.g. in your experiment yaml configuration, there should be the possibility to set the task.init_checkpoint variable to a e.g. Google bucket. e.g. on command line with --params_override=task.init_checkpoint='gs://folder/ckpt-33264'.

I downloaded a ResNet checkpoint from here:

$ wget https://storage.googleapis.com/tf_model_garden/vision/retinanet/retinanet-resnet50fpn.tar.gz

After unpacking the checkpoint structure looks like:

ckpt-33264.data-00000-of-00001  ckpt-33264.index

So you would use gs://folder/ckpt-33264 as value for the task.init_checkpoint option.

For your trained checkpoint you have adjust…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pormons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants