File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Covered knowledge points:
20
20
21
21
# Build on OSX
22
22
23
- ## Build TensorFlow
23
+ ## 1) Build TensorFlow
24
24
Follow the instruction [ build tensorflow from source] ( https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/makefile )
25
25
``` bash
26
26
git clone --recursive https://github.com/tensorflow/tensorflow.git
@@ -29,7 +29,7 @@ sh tensorflow/contrib/makefile/build_all_linux.sh (works for linux and osx)
29
29
cd ..
30
30
```
31
31
32
- ## Build this repo
32
+ ## 2) Build this repo
33
33
Keep this repo in the same directory with tensorflow.
34
34
``` bash
35
35
git clone https://github.com/formath/tensorflow-predictor-cpp.git
@@ -73,24 +73,24 @@ This demo show a real-world deep model usage in click through rate prediction.
73
73
74
74
More detail in Chinese: [ tensorflow_c++_ api_prediction] ( http://mathmach.com/2017/10/11/tensorflow_c++_api_prediction_second/ )
75
75
76
- ## Transform LibFM data into TFRecord
76
+ ## 1) Transform LibFM data into TFRecord
77
77
* LibFM format: ` label fieldId:featureId:value ... `
78
78
``` bash
79
79
cd demo/deep_model
80
80
sh trans_data_to_tfrecord.sh
81
81
```
82
82
83
- ## Train model
83
+ ## 2) Train model
84
84
``` bash
85
85
sh train.sh
86
86
```
87
87
88
- ## Freeze model
88
+ ## 3) Freeze model
89
89
``` bash
90
90
sh freeze_graph.sh
91
91
```
92
92
93
- ## Predict using C++
93
+ ## 4) Predict using C++
94
94
``` bash
95
95
sh predict.sh
96
96
```
You can’t perform that action at this time.
0 commit comments