MMdnn icon indicating copy to clipboard operation
MMdnn copied to clipboard

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

Open eric9687 opened this issue 3 years ago • 0 comments

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

eric9687 avatar Oct 27 '22 04:10 eric9687