Skip to content

How to load pytorch tensor #2315

Closed Answered by antimora
med1844 asked this question in Q&A
Discussion options

You must be logged in to vote

We should have a special book section on this. Please file an issue and mentione me. Meanwhile you can use the following resources:

  1. Book section https://burn.dev/burn-book/import/pytorch-model.html

  2. Use this repo to test model output:

https://github.com/antimora/face-onnx/blob/main/src/bin/with_weights_test_outputs.rs

This uses outputs from pytorch saved as pt file.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by med1844
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants