Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
zhan-xu committed Oct 3, 2020
1 parent 670f60a commit a3cde5c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ This is the code repository implementing the paper "RigNet: Neural Rigging for A

## Dependecy and Setup

The project is developed on Ubuntu 16.04 with cuda10.0 + cudnn7.6.3. We suggest to use conda virtual environment, which can be set up as following:
The project is developed on Ubuntu 16.04 with cuda10.0 and cudnn7.6.3.
It has also been successfully tested on Windows 10.
On both platforms, we suggest to use conda virtual environment.

<span style="color:red">[2020.09.13]</span> I have tested the code on Ubuntu 20.04, with cuda 10.1 + cudnn 7.6. I installed (almost all) the dependencies as their latest versions and everything works fine. The following commands have been updated which install pytorch1.6.0 and pytorch_geometric1.6.1.
#####For Linux user

**[2020.09.13]** I have tested the code on Ubuntu 20.04, with cuda 10.1 + cudnn 7.6. I installed (almost all) the dependencies as their latest versions and everything works fine. The following commands have been updated which install pytorch1.6.0 and pytorch_geometric1.6.1.

```
conda create -n rignet python=3.7
Expand All @@ -25,6 +29,14 @@ pip install torch-spline-conv==latest+cu101 -f https://pytorch-geometric.com/whl
pip install torch-geometric
```

#####For Windows user

The code has been tested on Windows 10 with cuda 10.1. The most important difference from Linux setup is, you need to download Windows-compiled Rtree from [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#rtree), and install it by
`pip install Rtree‑0.9.4‑cp37‑cp37m‑win_amd64.whl` (64-bit system) or
`pip install Rtree‑0.9.4‑cp37‑cp37m‑win32.whl` (32-bit system). Other libraries can be installed in the same way as Linux setup instructions.



## Quick start
We provide a script for quick start. First download our trained models from [here](https://umass.box.com/s/l7dxfayrubf5qzxcyg7can715xnislwm).
Put the checkpoints folder into the project folder.
Expand Down
5 changes: 4 additions & 1 deletion quick_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,10 @@ def predict_skeleton(input_data, vox, root_pred_net, bone_pred_net, mesh_filenam
loadSkel_recur(pred_skel.root, i, None, pred_joints, parent)
pred_skel.joint_pos = pred_skel.get_joint_dict()
#show_mesh_vox(mesh_filename, vox, pred_skel.root)
img = show_obj_skel(mesh_filename, pred_skel.root)
try:
img = show_obj_skel(mesh_filename, pred_skel.root)
except:
print("Visualization is not supported on headless servers. Please consider other headless rendering methods.")
return pred_skel


Expand Down

0 comments on commit a3cde5c

Please sign in to comment.