... | ... | @@ -9,13 +9,17 @@ Note that, this tutorial is aimed to describe an installation on Ubuntu 16.04 x8 |
|
|
|
|
|
### Python, pip and Qt
|
|
|
Barista is written in Python 2. So first of all, install Python and the package manager pip, which is needed to install other Python modules:
|
|
|
|
|
|
`$ sudo apt-get install python-2.7 python-pip`
|
|
|
|
|
|
|
|
|
PyQt is needed for Baristas GUI. To install it, run:
|
|
|
|
|
|
`$ sudo aptitude install python-qt4`
|
|
|
|
|
|
## Requirements
|
|
|
There are a number of Python modules that need to be installed in order to run Barista. All of them can be easily installed by using the requirements file. The command to install all requirements is as follows:
|
|
|
|
|
|
`$ pip install -r /path/to/requirements.txt`
|
|
|
|
|
|
### Caffe
|
... | ... | @@ -23,6 +27,7 @@ Of course, you need a working installation of caffe. For a detailed description |
|
|
|
|
|
## Launching Barista
|
|
|
Finally, you can run Barista from its root directory by using the main.py:
|
|
|
|
|
|
`python main.py`
|
|
|
|
|
|
## Configure Caffe Root
|
... | ... | |