Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed support for external data format #164

Merged
merged 1 commit into from
Dec 29, 2020

Conversation

TomWildenhain-Microsoft
Copy link
Contributor

No description provided.

@TomWildenhain-Microsoft TomWildenhain-Microsoft force-pushed the tom/onnx2pylargemodel branch 2 times, most recently from a0a1173 to c2644f4 Compare December 29, 2020 18:50
working_path = os.path.abspath(os.path.dirname(__file__))
tmp_path = os.path.join(working_path, 'temp')
data_path = os.path.join(working_path, 'data')

class Oonnx2PyTests(unittest.TestCase):
def tearDown(self):
from onnxconverter_common.onnx2py import clear_directory
Copy link
Member

Choose a reason for hiding this comment

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

wasn't sure if this is a good practice in general, any special reason of moving it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

onnx2py requires onnx version > 1.3. The new from onnx import external_data_helper will make it crash when imported in lower versions. The python 5 unit tests use onnx 1.3 but are skipped for onnx2py.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally maybe onnx2py would be its own repo since its pip requirements are technically higher than onnxconverter-common's install requirements.

@TomWildenhain-Microsoft TomWildenhain-Microsoft merged commit abc5544 into master Dec 29, 2020
@TomWildenhain-Microsoft TomWildenhain-Microsoft deleted the tom/onnx2pylargemodel branch December 29, 2020 20:19
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