... | ... | @@ -10,6 +10,7 @@ |
|
|
- [Caffe](manual-setup#caffe)
|
|
|
- [Launching Barista](manual-setup#launching-barista)
|
|
|
- [Configure Caffe Root](manual-setup#configure-caffe-root)
|
|
|
- [Caffe Root for Precompiled Packages](caffe-root-for-precompiled-packages)
|
|
|
|
|
|
3.[Overview](manual-overview)
|
|
|
|
... | ... | @@ -55,4 +56,28 @@ Finally, you can run Barista from its root directory by using the main.py: |
|
|
## Configure Caffe Root
|
|
|
There are two existing Caffe root paths that can be used. One is saved in Baristas settings, the other is saved in the projects settings. For both paths, the default setting is to save nothing. The Caffe paths can be changed by using the entry "Settings -> Change Caffe Path" in the menu bar. If the Caffe Project path exists, it is used for training. If it does not exists, the default path form the settings is used. After changing the path, the program needs to be restarted.
|
|
|
|
|
|
## Caffe Root for Precompiled Packages
|
|
|
Some distributions conveniently offer precompiled packages for caffe.
|
|
|
Unfortunately, Barista currently still requires a "caffe root" path.
|
|
|
Using symbolic links, we can create a dummy "caffe root" folder structure that resembles that of a source folder, but only contains the paths required by Barista.
|
|
|
The tree structure of such a folder should look as follows:
|
|
|
|
|
|
```
|
|
|
> tree caffe_dummy/
|
|
|
caffe_dummy/
|
|
|
├── python
|
|
|
│ └── caffe -> ${caffe_python_files}
|
|
|
└── src
|
|
|
└── caffe
|
|
|
└── proto -> ${caffe_proto_folder}
|
|
|
```
|
|
|
|
|
|
`${caffe_python_files}` should contain the python files of Barista, i.e., pycaffe.py etc.
|
|
|
|
|
|
`${caffe_proto_folder}` should be the path of a folder containing the caffe.proto file.
|
|
|
|
|
|
For example, when installing caffe from the archlinux user repository, the symlinks should be set up like:
|
|
|
* `caffe_dummy/python/caffe -> /usr/lib/python2.7/site-packages/caffe/`
|
|
|
* `caffe_dummy/src/caffe/proto -> /usr/share/caffe/`
|
|
|
|
|
|
| [previous page](manual) | [start page](manual) | [next page](manual-overview) | |