Skip to content

Commit

Permalink
README mod, empty data folder, Setup warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmermc committed Sep 10, 2019
1 parent d928bfa commit 42eb648
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ See the [project page](https://lmb.informatik.uni-freiburg.de/projects/freihand/
```
virtualenv -p python2.7 ./venv
source venv/bin/activate
pip install numpy matplotlib scikit-image transforms3d tqdm opencv-python
pip install numpy matplotlib scikit-image transforms3d tqdm opencv-python cython
```
3. Assuming ${DB_PATH} is the path to where you unpacked the dataset (path to where _./training/_ and _./evaluation/_ folder branch off).
Expand Down Expand Up @@ -60,7 +60,6 @@ The script provides a couple of other parameters you might want to try. Note tha
4. Visualize samples with rendered MANO shapes
```
python view_samples.py ${DB_PATH} --mano
python view_samples.py ${DB_PATH} --mano --show_eval
```
# Evaluate on the dataset
Expand Down Expand Up @@ -89,7 +88,7 @@ In order to ensure a fair and consistent protocol, evaluation of your algorithm
F_aliged@5mm= 0.001, F_aligned@15mm=0.029
```
5. Modify `pred.py` to use your method for making shape prediction.
5. Modify `pred.py` to use your method for making shape prediction and see how well it performs compared to the baselines in our [leaderboard](https://competitions.codalab.org/competitions/21218#results).
# Terms of use
Expand Down
Empty file added data/__init__.py
Empty file.
9 changes: 6 additions & 3 deletions utils/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
import chumpy as ch
import numpy as np
from opendr.lighting import LambertianPointLight
from utils.mano_core.mano_loader import load_model
from utils.mano_core.lbs import global_rigid_transformation
from utils.mano_utils import get_keypoints_from_mesh_ch
try:
from utils.mano_core.mano_loader import load_model
from utils.mano_core.lbs import global_rigid_transformation
from utils.mano_utils import get_keypoints_from_mesh_ch
except ImportError as e:
raise ImportError('%s \nDid you set up the repository for advanced use?' % e)


renderer = None
Expand Down

0 comments on commit 42eb648

Please sign in to comment.