|
1 | | -Synopsys Caffe |
2 | | -============== |
3 | | - |
| 1 | +# Synopsys Caffe |
4 | 2 | Synopsys Caffe is a modified version of the popular [Caffe Deep Learning framework](http://caffe.berkeleyvision.org/) adapted for use with DesignWare EV6x Processors. |
5 | 3 | It combines multiple customized branches and includes a large range of patches to support diverse models. See [FEATURES.md](https://github.com/foss-for-synopsys-dwc-arc-processors/synopsys-caffe/blob/master/FEATURES.md) for a short overview. |
6 | 4 |
|
7 | | -Installation |
8 | | ------------- |
| 5 | +## Installation |
9 | 6 | Please check out the prerequisites and read the detailed notes at the [BVLC Caffe Installation](http://caffe.berkeleyvision.org/installation.html) at first. |
10 | 7 |
|
11 | | -Extra steps and explanations for Synopsys Caffe installation: |
12 | | -Note: Please checkout the **master** branch for build on both platforms. The windows branch is deprecated, please do not use it. |
13 | | -- Linux: Please follow the [instructions](https://github.com/foss-for-synopsys-dwc-arc-processors/synopsys-caffe/commit/10169e55f4d460c52067792d5f36b9113fa9a705#comments) to install and set the **matio** support before building Caffe. |
14 | | -- Windows: See detailed installation instructions [here](https://github.com/BVLC/caffe/blob/windows/README.md). |
15 | | - Note: |
16 | | - 1. Download the Visual Studio 2015 Update 3. Choose to install the support for visual C++ instead of applying the default settings. |
17 | | - 2. After installing the python, please use “pip install numpy” to install the **numpy** package before building Caffe. |
18 | | - 3. The caffe.exe is created at synopsys-caffe\build\tools\Release after a successful build. |
| 8 | +### Linux |
| 9 | +Please follow the [instructions](https://github.com/foss-for-synopsys-dwc-arc-processors/synopsys-caffe/commit/10169e55f4d460c52067792d5f36b9113fa9a705#comments) to install and set the **matio** support before building Caffe. |
| 10 | +### Windows |
| 11 | +A simple guide: |
| 12 | +1. Download the Visual Studio 2015 Update 3. Choose to install the support for visual C++ instead of applying the default settings. |
| 13 | +2. Install the CMake 3.4 or higher. Install Python 2.7 or 3.5. Add cmake.exe and python.exe to your PATH. |
| 14 | +3. After installing the Python, please open a `cmd` prompt and use `pip install numpy` to install the **numpy** package. |
| 15 | +4. Checkout the Synopsys Caffe **master** branch for build. The windows branch is deprecated, please do not use it. We use `C:\Projects` as the current folder for the following instructions. |
| 16 | +```cmd |
| 17 | +C:\Projects> git clone https://github.com/foss-for-synopsys-dwc-arc-processors/synopsys-caffe.git |
| 18 | +C:\Projects> cd synopsys-caffe |
| 19 | +:: Edit any of the options inside build_win.cmd to suit your needs |
| 20 | +C:\Projects\synopsys-caffe> scripts\build_win.cmd |
| 21 | +:: If no errors occurs, the caffe.exe will be created at C:\Projects\synopsys-caffe\build\tools\Release after a successful build. |
| 22 | +``` |
| 23 | +Other detailed installation instructions can be found [here](https://github.com/BVLC/caffe/blob/windows/README.md). |
19 | 24 |
|
20 | | -Reference for different Distributions |
21 | | -------------------------------------- |
| 25 | +## Reference for different Distributions |
22 | 26 | Synopsys Caffe support the features introduced in following customized branches. Here are some links to the original demos, tutorials and models usage: |
23 | 27 | - [SegNet](https://github.com/alexgkendall/caffe-segnet) |
24 | 28 | - [Faster RCNN](https://github.com/rbgirshick/py-faster-rcnn) |
|
0 commit comments