compile.rst 1.82 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
Hang Zhang committed
8
    * Install PyTorch by following the `PyTorch instructions <http://pytorch.org/>`_.
Hang Zhang's avatar
Hang Zhang committed
9
10
11
      This package relies on PyTorch master branch (higher than stable released v0.4.0), please follow
      `the instruction <https://github.com/pytorch/pytorch#from-source>`_ to install
      PyTorch from source.
Hang Zhang's avatar
Hang Zhang committed
12
 
Hang Zhang's avatar
Hang Zhang committed
13
    * PIP Install::
Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
14

Hang Zhang's avatar
Hang Zhang committed
15
        pip install torch-encoding
Hang Zhang's avatar
docs  
Hang Zhang committed
16

Hang Zhang's avatar
Hang Zhang committed
17
    * Install from source:: 
Hang Zhang's avatar
docs  
Hang Zhang committed
18

Hang Zhang's avatar
Hang Zhang committed
19
20
        git clone https://github.com/zhanghang1989/PyTorch-Encoding && cd PyTorch-Encoding
        python setup.py install
Hang Zhang's avatar
docs  
Hang Zhang committed
21

Zhang's avatar
v0.2.0  
Zhang committed
22
Citations
Hang Zhang's avatar
v0.1.0  
Hang Zhang committed
23
---------
Hang Zhang's avatar
v1.0.1  
Hang Zhang committed
24
25

    .. note::
Hang Zhang's avatar
v0.2.0  
Hang Zhang committed
26
27
28
29
30
31
32
33
34
35
36
37
        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
38
39
40
41
42
43
44
45
46
47

        * 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}
            }