Skip to content

Conversation

@atobiszei
Copy link
Collaborator

Script when launched for second time had different (wrong) paths in graph.pbtxt because xml/bin files already exist.

Ticket:CVS-177562

### Export model
if os.path.isfile(os.path.join(source_model, 'openvino_model.xml')) or os.path.isfile(os.path.join(source_model, 'openvino_language_model.xml')):
print("OV model is source folder. Skipping conversion.")
model_path = source_model
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My recollection is that this condition was for the scenario of source model from NFS storage with RO access. That was to be absolute path.

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

Successfully merging this pull request may close these issues.

4 participants