├── README.md
├── apply_warps.py
├── create_networks.py
├── create_unwarper.py
├── make_net.py
├── pyramid.py
├── sft_utils.py
├── train.py
└── utils.py
/README.md:
--------------------------------------------------------------------------------
1 |
2 | # Toward a Universal Model for Shape from Texture
3 |
4 | This repository contains code for:
5 |
6 | **[Toward a Universal Model for Shape from Texture](http://vision.seas.harvard.edu/sft/)**
7 |
8 | [Dor Verbin](https://scholar.harvard.edu/dorverbin) and [Todd Zickler](http://www.eecs.harvard.edu/~zickler/)
9 |
10 | CVPR 2020
11 |
12 |
13 | Please contact us by email for questions about our paper or code.
14 |
15 |
16 |
17 |
18 | ## Requirements
19 |
20 | Our code is implemented in tensorflow. It has been tested using tensorflow 1.9 but it should work for other tensorflow 1.x versions. The following packages are required:
21 |
22 | - python 3.x
23 | - tensorflow 1.x
24 | - numpy >= 1.14.0
25 | - pillow >= 5.1.0
26 | - matplotlib >= 2.2.2 (only used for plotting during training)
27 |
28 |
29 |
30 | ## Running the model
31 |
32 | To run our model execute the following:
33 | ```
34 | python train.py -image_path -output_folder