Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions demos/common/export_models/export_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import json
import shutil
import tempfile
from pathlib import Path

def add_common_arguments(parser):
parser.add_argument('--model_repository_path', required=False, default='models', help='Where the model should be exported to', dest='model_repository_path')
Expand Down Expand Up @@ -358,6 +359,7 @@ def get_models_max_context(tmpdirname, config_filename):
return None

def add_servable_to_config(config_path, mediapipe_name, base_path):
base_path = Path(base_path).as_posix()
print(config_path, mediapipe_name, base_path)
if not os.path.isfile(config_path):
print("Creating new config file")
Expand Down