Issue
I have a repo that provided a model architecture, but not pretrained model. it actually provides a .pth file but it's dataset inside the file, is there any way to make the dataset to csv?
Solution
.pth files saved with toch.save()
are supposed to be binaries. using torch.load()
you can get the dataset, and then save it again as a .csv with pandas for example
Answered By - theophile
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.