Porting models from other frameworks to paddlepaddle
Created by: prakharg24
I am looking to port a object detection model trained in keras to paddlepaddle. What I have ->
- Knowledge of the exact architecture of the model. I can implement them both in keras and in paddlepaddle
- Trained model present in keras framework
What I want -> Trained model in paddlepaddle framework
Naive approach -> Store the weights and biases from the keras model as a numpy and then define the model in paddlepaddle framework and load these weights into the model. Issue -> I am familiar with keras, and so I can easily extract the weights from the model and save it in numpy format. But I am not familiar with the paddlepaddle framework, so I don't know how to load weights into the model, one layer at a time, in form of numpy matrices.
P.S : If there is any other/better approach of doing what I am trying to do, let me know.
Thank You.