Skip to content

Exporting weights of models #1003

Answered by FabianIsensee
paul-reiners asked this question in Q&A
Discussion options

You must be logged in to vote

Weights without the architecture to put them in are rather useless (unless you export as onnx). But sure you can do that. Just read the checkpoint files with torch.load. There is a dictionary in there where you will be able to find the model weights as well

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FabianIsensee
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