Skip to content

Commit 7960a9d

Browse files
committed
update
1 parent 63c62b1 commit 7960a9d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Caffe for CC4.0-Windows,Caffe从没如此简单,更简单的Caffe C++接口
1818
# 案例
1919
非常容易在C++里面实现自己的datalayer、losslayer等,自定义数据的输入等
2020
在prototxt中定义如下:
21-
```
21+
``` json
2222
layer {
2323
name: "data"
2424
type: "CPP"
@@ -35,7 +35,7 @@ layer {
3535
```
3636

3737
# cpp代码训练:
38-
```
38+
``` c++
3939
#include <cc_utils.h>
4040
#pragma comment(lib, "libcaffe.lib")
4141

@@ -84,7 +84,7 @@ void main(){
8484
```
8585

8686
# 前向运算
87-
```
87+
``` c++
8888
void test(){
8989
//...
9090
WPtr<Net> net = loadNetFromPrototxt("deploy.prototxt");
@@ -111,7 +111,7 @@ void test(){
111111
```
112112

113113
# SSD的一步训练
114-
```
114+
``` c++
115115
#include <cc_utils.h>
116116
using namespace cc;
117117

@@ -160,7 +160,7 @@ void main(){
160160
```
161161
162162
# SSD的train.prototxt的data层:
163-
```
163+
``` json
164164
layer {
165165
name: "data"
166166
type: "CPP"

0 commit comments

Comments
 (0)