Skip to content

Make convert_to_onnx runable as script again#10857

Merged
LysandreJik merged 1 commit intomasterfrom
fix_conversion_script
Mar 23, 2021
Merged

Make convert_to_onnx runable as script again#10857
LysandreJik merged 1 commit intomasterfrom
fix_conversion_script

Conversation

@sgugger
Copy link
Collaborator

@sgugger sgugger commented Mar 22, 2021

What does this PR do?

When rewroking the inits, convert_graph_to_onnx.py got its import replaced by relative imports which broke the fact it can be run as a script. This PR fixes that.

@sgugger sgugger requested a review from LysandreJik March 22, 2021 21:30
Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants