Created
December 10, 2018 04:44
-
-
Save fratealberto/21910f7af6b2e4599e07488eeb4f39a7 to your computer and use it in GitHub Desktop.
Kaffe Conversion, #docker, #Caffe, #keras
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Converting Caffe model to Keras model | |
Si può usare una macchina docker per Kaffe: https://hub.docker.com/r/bvlc/caffe/ | |
1. Download caffe model cd model; sh get_caffe_model.sh | |
2. Dump caffe layers to numpy data | |
cd ..; docker run -v [absolute path to your keras_Realtime_Multi-Person_Pose_Estimation folder]:/workspace -it bvlc/caffe:cpu python dump_caffe_layers.py | |
Note that docker accepts only absolute paths so you have to set the full path to the folder containing this project. | |
3. Convert caffe model (from numpy data) to keras model python caffe_to_keras.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment