Commit 7960a9d 1 parent 63c62b1 commit 7960a9d Copy full SHA for 7960a9d
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Caffe for CC4.0-Windows,Caffe从没如此简单,更简单的Caffe C++接口
18
18
# 案例
19
19
非常容易在C++里面实现自己的datalayer、losslayer等,自定义数据的输入等
20
20
在prototxt中定义如下:
21
- ```
21
+ ``` json
22
22
layer {
23
23
name: "data"
24
24
type: "CPP"
@@ -35,7 +35,7 @@ layer {
35
35
```
36
36
37
37
# cpp代码训练:
38
- ```
38
+ ``` c++
39
39
#include < cc_utils.h>
40
40
#pragma comment(lib, "libcaffe.lib")
41
41
@@ -84,7 +84,7 @@ void main(){
84
84
```
85
85
86
86
# 前向运算
87
- ```
87
+ ``` c++
88
88
void test (){
89
89
//...
90
90
WPtr<Net> net = loadNetFromPrototxt("deploy.prototxt");
@@ -111,7 +111,7 @@ void test(){
111
111
```
112
112
113
113
# SSD的一步训练
114
- ```
114
+ ``` c++
115
115
#include < cc_utils.h>
116
116
using namespace cc ;
117
117
@@ -160,7 +160,7 @@ void main(){
160
160
```
161
161
162
162
# SSD的train.prototxt的data层:
163
- ```
163
+ ``` json
164
164
layer {
165
165
name: "data"
166
166
type: "CPP"
You can’t perform that action at this time.
0 commit comments