compile.rst 1.86 KB
Newer Older
Zhang's avatar
v0.2.0  
Zhang committed
1
2
Install and Citations
=====================
Hang Zhang's avatar
docs  
Hang Zhang committed
3

Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
4
5
6
7

Install from Source
-------------------

Hang Zhang's avatar
path  
Hang Zhang committed
8
    * Install PyTorch from Source (recommended). Please follow the `PyTorch instructions <https://github.com/pytorch/pytorch#from-source>`_.
Hang Zhang's avatar
docs  
Hang Zhang committed
9

Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
10
11
12
    * Install this package

        - Clone the repo::
Hang Zhang's avatar
docs  
Hang Zhang committed
13

Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
14
            git clone https://github.com/zhanghang1989/PyTorch-Encoding && cd PyTorch-Encoding
Hang Zhang's avatar
docs  
Hang Zhang committed
15

Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
16
        - On Linux::
Hang Zhang's avatar
docs  
Hang Zhang committed
17

Hang Zhang's avatar
sync BN  
Hang Zhang committed
18
            pip install -r requirements.txt
Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
19
            python setup.py install
Hang Zhang's avatar
docs  
Hang Zhang committed
20

Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
21
        - On Mac OSX::
Hang Zhang's avatar
docs  
Hang Zhang committed
22

Hang Zhang's avatar
sync BN  
Hang Zhang committed
23
24
            pip install -r requirements.txt
            MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
Hang Zhang's avatar
docs  
Hang Zhang committed
25

Zhang's avatar
v0.2.0  
Zhang committed
26
Citations
Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
27
---------
Hang Zhang's avatar
v1.0.1  
Hang Zhang committed
28
29

    .. note::
Hang Zhang's avatar
v0.2.0  
Hang Zhang committed
30
31
32
33
34
35
36
37
38
39
40
41
        If using the code in your research, please cite our papers.

        * Hang Zhang, Kristin Dana, Jianping Shi, Zhongyue Zhang, Xiaogang Wang, Ambrish Tyagi, Amit Agrawal. "Context Encoding for Semantic Segmentation"  *The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2018*::

            @InProceedings{Zhang_2018_CVPR,
            author = {Zhang, Hang and Dana, Kristin and Shi, Jianping and Zhang, Zhongyue and Wang, Xiaogang and Tyagi, Ambrish and Agrawal, Amit},
            title = {Context Encoding for Semantic Segmentation},
            booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
            month = {June},
            year = {2018}
            }

Hang Zhang's avatar
v1.0.1  
Hang Zhang committed
42
43
44
45
46
47
48
49
50
51

        * Hang Zhang, Jia Xue, and Kristin Dana. "Deep TEN: Texture Encoding Network." *The IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2017*::

            @InProceedings{Zhang_2017_CVPR,
            author = {Zhang, Hang and Xue, Jia and Dana, Kristin},
            title = {Deep TEN: Texture Encoding Network},
            booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
            month = {July},
            year = {2017}
            }