-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathReadme
25 lines (16 loc) · 939 Bytes
/
Readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
If you want to use oakfoam with deep convolutional neural networks you have to configure with-caffe:
oakfoam configure
1. make distribute (in the caffe directory) for use caffe library
--> make distribute
2. you start ./configure --with-caffe=your_caffe_distribute_dir, if you met error
make link library in distribute
--> sudo ln -s /home/${USER}/caffe/./distribute/tools/caffe.bin /usr/local/bin/caffe
--> sudo ln -s /home/${USER}/lib/libcaffe.a /usr/local/lib/libcaffe.a
--> sudo ln -s /home/${USER}/lib/libcaffe.so /usr/local/lib/libcaffe.so
if you have libcaffe.so.1.0.0-rc3, this file make link too.
3. use a configuration gtp file to set the parameters for only cnn mode (will change in the future to something like param cnn_only_move_prediction):
--> param test_p100 1.0
--> param test_p101 0.0
--> param test_p102 0.0
4. ./configure --with-caffe=/home/user_name/caffe/distribute
5. successful configure, you start make