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

Converting from tensorflow to pytorch #885

Open
slala2121 opened this issue Aug 13, 2020 · 4 comments
Open

Converting from tensorflow to pytorch #885

slala2121 opened this issue Aug 13, 2020 · 4 comments

Comments

@slala2121
Copy link

Platform (like ubuntu 16.04/win10): ubuntu 16.04

Python version: 3

Source framework with version (like Tensorflow 1.4.1 with GPU): Tensorflow 1.15.0

Destination framework with version (like CNTK 2.3 with GPU): Pytorch 1.6.0

Since the models under Tensorflow 1.11+ are saved as .meta, .index, .data, how can tf to IR step (#22) here be modified for this type of saved model format? Seems like .ckpt is used for TensorflowParser._load_weights but this is not available under this version.

@slala2121 slala2121 changed the title Converting from pytorch to tensorflow Converting from tensorflow to pytorch Aug 13, 2020
@zzb112233
Copy link

Platform (like ubuntu 16.04/win10): ubuntu 16.04

Python version: 3

Source framework with version (like Tensorflow 1.4.1 with GPU): Tensorflow 1.15.0

Destination framework with version (like CNTK 2.3 with GPU): Pytorch 1.6.0

Since the models under Tensorflow 1.11+ are saved as .meta, .index, .data, how can tf to IR step (#22) here be modified for this type of saved model format? Seems like .ckpt is used for TensorflowParser._load_weights but this is not available under this version.

Hello,have you solved this problem?

@slala2121
Copy link
Author

slala2121 commented Oct 21, 2020 via email

@waleedrazakhan92
Copy link

No but the issue can be closed since I found a workaround.

can you share the workaround?

@slala2121
Copy link
Author

slala2121 commented Oct 23, 2020 via email

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

3 participants