Skip to content

Commit a11ca5b

Browse files
author
Amir Zadeh
authored
Update readme.txt
1 parent bfe9322 commit a11ca5b

File tree

1 file changed

+2
-1
lines changed
  • model_training/ce-clm_training/cen_training

1 file changed

+2
-1
lines changed

model_training/ce-clm_training/cen_training/readme.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ in ../patch_generation.
44

55
Then run the training code via train_cen.py. Each patch expert is trained for a single scale, view and landmark.
66

7-
87
python train_cen.py (location of patches) (model to train) (scale to train) (view to train) (landmark to train) (minibatch size) (folder to save models to) (menpo or general/300W patches)
98

109

@@ -17,3 +16,5 @@ other options:
1716
e.g.
1817
python train_cen.py menpo_data/ arch6 0.35 profile3 5 256 model_saves menpo --num_epochs 100 --outfile menpo_acc_120.txt --acc_file menpo_acc_20.txt
1918

19+
20+
Subsequently, run the keras2matlab.py for getting your model in matlab format. Each landmark patch detector needs to be converted into a matlab input file using this script. The script takes in an input file which would be one output output of the train_cen code. Then it turns it into matlab object. The code is written for architecture 4, if you are using other architecture you need to copy and paste the architecture to build_model.

0 commit comments

Comments
 (0)