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

How to import pytorch 2 keras? #144

Open
vitoriarlima opened this issue May 8, 2022 · 1 comment
Open

How to import pytorch 2 keras? #144

vitoriarlima opened this issue May 8, 2022 · 1 comment
Labels

Comments

@vitoriarlima
Copy link

vitoriarlima commented May 8, 2022

Describe the bug

There are dependencies of this repo that are not clear and old

To Reproduce
Snippet of my code

Trying to import pytorch to eras
Screenshot 2022-05-08 at 16 50 07

Screenshot 2022-05-08 at 16 46 15

Expected behavior
I am trying to import pytorch 2 keras but it required me to install onnx which I did but then it complains that some of the things you are importing do not exist

Environment (please complete the following information):
I am trying import this to a Jupiter notebook on Google Colab

@balisujohn
Copy link

This failure I think is mentioned in this issue: #132. Based on my own use of the package, it is fixed in the version of the repo in master, but not in the most current version on pypi. You will need to install via pip the most recent commit: https://stackoverflow.com/questions/13685920/install-specific-git-commit-with-pip. I don't know how to do this with colab. I think this package needs a new PyPi version, since the most recent PyPi version is from 2020.

You might also be able to use an old version of onnx, but I forget specifics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants