README.md 1.09 KB
Newer Older
Hang Zhang's avatar
init  
Hang Zhang committed
1
2
3
4
5
6
7
8
9
10
11
12
# PyTorch-Encoding-Layer

**Deep TEN: Texture Encoding Network** [[arXiv]](https://arxiv.org/pdf/1612.02844.pdf)  
  [Hang Zhang](http://hangzh.com/), [Jia Xue](http://jiaxueweb.com/), [Kristin Dana](http://eceweb1.rutgers.edu/vision/dana.html)
```
@article{zhang2016deep,
  title={Deep TEN: Texture Encoding Network},
  author={Zhang, Hang and Xue, Jia and Dana, Kristin},
  journal={arXiv preprint arXiv:1612.02844},
  year={2016}
}
```
Hang Zhang's avatar
readme  
Hang Zhang committed
13
If you would like to reproduce the texture recognition benchmark in the paper, please visit our original [Torch implementation](https://github.com/zhanghang1989/Deep-Encoding).
Hang Zhang's avatar
init  
Hang Zhang committed
14
15

## Installation
Hang Zhang's avatar
readme  
Hang Zhang committed
16
17
- Install PyTorch from source
	* Install PyTorch from source to the `$HOME` directory, you can follow the [PyTorch tutorial](https://github.com/pytorch/pytorch#install-pytorch). 
Hang Zhang's avatar
backend  
Hang Zhang committed
18

Hang Zhang's avatar
readme  
Hang Zhang committed
19
- Install the package
Hang Zhang's avatar
readme  
Hang Zhang committed
20
21
22
23
	* Clone the repo
	```bash
	git clone git@github.com:zhanghang1989/PyTorch-Encoding-Layer.git && cd PyTorch-Encoding-Layer
	```
Hang Zhang's avatar
backend  
Hang Zhang committed
24
25
26
27
28
29
30
31
	* On Linux
	```bash
	python setup.py install
	```
	* On OSX
	```bash
	MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
	```