# 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} } ``` 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). ## Installation - 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). - Install the package * Clone the repo ```bash git clone git@github.com:zhanghang1989/PyTorch-Encoding-Layer.git && cd PyTorch-Encoding-Layer ``` * On Linux ```bash python setup.py install ``` * On OSX ```bash MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install ```