ckc99u commited on
Commit
585e7a9
·
verified ·
1 Parent(s): c42b29d

Update RigNet/quick_start.py

Browse files
Files changed (1) hide show
  1. 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
- # -a will pick a free display (e.g. :99) and start Xvfb for this command
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: