Skip to content

Commit eb6e84f

Browse files
committed
Remove mesh-to-sdf from install_requires and install it manually for preprocessing
1 parent 2d9264d commit eb6e84f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ To train a network for a specific category you need to first train a per-categor
8686
#### VAE
8787
First we need to convert the ShapeNet meshes to SDFs and optionally filter the dataset. To reproduce the preprocessing of the paper run
8888
```bash
89+
pip install git+https://github.com/marian42/mesh_to_sdf.git
8990
source preprocess_shapenet.sh
9091
```
9192
Then run
@@ -138,6 +139,7 @@ Architecture to learn a low-dimensional representation of signed-distance fields
138139

139140
You need to preprocess the mesh data prior to running the training script, like this:
140141
```bash
142+
pip install git+https://github.com/marian42/mesh_to_sdf.git
141143
python -m sdfest.vae.scripts.process_shapenet --inpath shapenet_subfolder --outpath output_path --resolution 64 --padding 2
142144
```
143145
You can control the resolution and added padding so that there is some empty space left in the signed distance field on all borders. If you are running this script via ssh you need to run `export PYOPENGL_PLATFORM=egl` prior to running the script and use the `--all` option which will disable any filtering. Otherwise mesh selection will proceed in two steps: first you see one mesh after another and need to decide which to keep. Pressing left will remove a mesh, pressing right will keep it. After a decision has been made, the conversion will run. Finally another manual selection process is started, where you can remove SDFs in which the mesh to SDF conversion has failed.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setuptools.setup(
1414
name="sdfest",
15-
version="0.1.0",
15+
version="0.1.1",
1616
author="Leonard Bruns",
1717
author_email="roym899@gmail.com",
1818
description="6-DoF pose, scale, and shape estimation architecture",
@@ -33,7 +33,7 @@
3333
"healpy",
3434
"joblib",
3535
"matplotlib",
36-
"mesh-to-sdf",
36+
# "mesh-to-sdf, removed due to https://github.com/marian42/mesh_to_sdf/issues/38
3737
"ninja",
3838
"numpy",
3939
"open3d",

0 commit comments

Comments
 (0)