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 can I convert tf(.pb) to pytorch? #940

Open
eric9687 opened this issue Oct 27, 2022 · 0 comments
Open

How can I convert tf(.pb) to pytorch? #940

eric9687 opened this issue Oct 27, 2022 · 0 comments

Comments

@eric9687
Copy link

Platform (like ubuntu 16.04/win10): ubuntu 20.04

Python version: 3.7

Source framework with version (like Tensorflow 1.4.1 with GPU): tf 1.14,

Destination framework with version (like CNTK 2.3 with GPU): torch 1.12.1

Pre-trained model path (webpath or webdisk path):

Running scripts:

mmconvert --srcFramework tensorflow --inputWeight saved_model.pb --inputNetwork saved_model.pb --dstFramework pytorch --outputModel tf2torch_saved_model

my error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9c in position 3: invalid start byte

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

No branches or pull requests

1 participant