allenai / objaverse-rendering

📷 Scripts for rendering Objaverse
https://objaverse.allenai.org
Apache License 2.0
217 stars 10 forks source link

Unable to open a display #16

Closed linmi1 closed 6 months ago

linmi1 commented 6 months ago

I run distributed.py with --num_gpus 1 --workers_per_gpu 2 --input_models_path ./input_models_path.json I cannot get the result in ./views ,get the logs:

Blender 3.2.2 (hash bcfdb14560e7 built 2022-08-02 23:38:01) No protocol specified xcb_connection_has_error() returned true ['blender-3.2.2-linux-x64/blender', '-b', '-P', 'scripts/blender_script.py', '--', '--object_path', '/home1/stu/linmi/objaverse-rendering-main/input/000074a334c541878360457c672b6c2e.glb'] Data are loaded, start creating Blender stuff glTF import finished in 0.08s No protocol specified Unable to open a display

linmi1 commented 6 months ago

trying to find this sentence command = ( f"export DISPLAY=:0.{gpu} &&" f" blender-3.2.2-linux-x64/blender -b -P scripts/blender_script.py --" f" --object_path {item}" ) and change 0.{gpu} to 1.{gpu}