google-research / vision_transformer

Apache License 2.0
10.48k stars 1.3k forks source link

How to load checkpoint after finetuning? #131

Open anvuongb opened 3 years ago

anvuongb commented 3 years ago

I just completed finetuning process on my own dataset and I'm having problem using the checkpoint file generated by the code.

If I tried to use checkpoints.load() it will throw exception.

If I tried load_pretrained() I don't know how to set the init params.

Am I missing anything?

andsteing commented 3 years ago

Did you have a look at our Colabs

You can see example code there how to use checkpoint.load()