I need to deploy a fast.ai model I trained in our environment which is Python 3.5 and I can’t upgrade the Python without affecting 10 other people’s previous work. So my options now are:
- modify fast.ai to work in Python 3.5 (not sure how much work it is)
- save fast.ai model as a pytorch model (*.pth):
learner.models.modelare Sequential, which do not have a save method for torch.save.
- save fast.ai model (*.h5) and load it in pytorch:
Seems that I need to reconstruct the model before loading it.
- other methods.
Any suggests may help greatly.
Thanks for reading!