Are there any updated models/software (github repos) that can easily convert a fastai learner object to a pure pytorch model? with or without knowledge of the model structure?
fastai models are PyTorch models. So there isn’t “converting” per say. If there are custom layers used you will need to have the source code for these layers available.
If you want just the pytorch model, it lives at
Thanks @muellerzr. I can get the model for a simple learner.
My question is more on if there is a method/software that takes in a learner, and spits out the pytorch files (file for model, and file for weights), without me having to create it. These files can then be used without the need for installing fastai, and I don’t have to write the files (as they are automatically generated somehow)