Created
January 9, 2021 18:18
-
-
Save KostaMalsev/72a8921723a19b71af997a0b71aef5dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run conversion script to save the retrained model: | |
#Saved model will be in saved_model.pb file: | |
import re | |
import numpy as np | |
output_directory = '/content/fine_tuned_model' | |
#place the model weights you would like to export here | |
last_model_path = '/content/training/' | |
print(last_model_path) | |
!python /content/models/research/object_detection/exporter_main_v2.py \ | |
--trained_checkpoint_dir {last_model_path} \ | |
--output_directory {output_directory} \ | |
--pipeline_config_path {pipeline_file} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment