Update RigNet/quick_start.py
Browse files- RigNet/quick_start.py +1 -2
RigNet/quick_start.py
CHANGED
|
@@ -97,8 +97,7 @@ def create_single_data(mesh_filename):
|
|
| 97 |
print(" voxelizing mesh with binvox...")
|
| 98 |
# On headless Linux (Hugging Face), run binvox under Xvfb
|
| 99 |
if platform == "linux" or platform == "linux2":
|
| 100 |
-
|
| 101 |
-
cmd = f"xvfb-run -a binvox -d 88 -pb {normalized_obj}"
|
| 102 |
elif platform == "win32":
|
| 103 |
cmd = f"binvox.exe -d 88 {normalized_obj}"
|
| 104 |
else:
|
|
|
|
| 97 |
print(" voxelizing mesh with binvox...")
|
| 98 |
# On headless Linux (Hugging Face), run binvox under Xvfb
|
| 99 |
if platform == "linux" or platform == "linux2":
|
| 100 |
+
cmd = f"xvfb-run -a -s '-screen 0 640x480x24' binvox -d 88 -pb {normalized_obj}"
|
|
|
|
| 101 |
elif platform == "win32":
|
| 102 |
cmd = f"binvox.exe -d 88 {normalized_obj}"
|
| 103 |
else:
|