princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.32k stars 455 forks source link

Issue running HelloWorld commands #147

Open samhita-m opened 12 months ago

samhita-m commented 12 months ago

Describe the bug

A clear and concise description of what the bug is.

Hi, I followed the instructions in the Installation.md and tried to test the HelloWorld.mdbut I'm getting "gin module not found error" as shown below. I tried conda install and pip install but they didn't help. Also restarted the terminal and my computer but they didn't help either.

Steps to Reproduce

What version of the code were you using?

''' What is the output of git log -n 1? '''

commit 0f208a8044c38a797f3383d7c7f7f7425154f25b (HEAD -> main, origin/main, origin/HEAD) Author: Kaiyu Yang kaiyuy@caltech.edu Date: Mon Sep 4 08:06:38 2023 -1000

Update ImplementingAssets.md (#142)

What command did you run?

BLENDER -noaudio --background --python generate.py -- --seed 0 --task coarse -g desert simple --output_folder outputs/helloworld/coarse --debug

python -m tools.manage_datagen_jobs --output_folder outputs/hello_world --num_scenes 1 --specific_seed 0 \
--configs desert.gin simple.gin --pipeline_configs local_16GB.gin monocular.gin blender_gt.gin --pipeline_overrides LocalScheduleHandler.use_gpu=False --debug

What are your FULL output logs?

When I run this command, following is the output in the terminal "BLENDER -noaudio --background --python generate.py -- --seed 0 --task coarse -g desert simple --output_folder outputs/helloworld/coarse --debug"

Blender 3.6.4 (hash 21bfc5e7fe3f built 2023-09-25 23:33:06)
Device with name Apple M2 supports metal minimum requirements
Error: Python: Traceback (most recent call last):
  File "/Users/samhitamarri/Downloads/Research/PlantCare/infinigen/worldgen/generate.py", line 14, in <module>
    import gin
ModuleNotFoundError: No module named 'gin'

Blender quit

I'm getting the following error when I try "python -m tools.manage_datagen_jobs --output_folder outputs/hello_world --num_scenes 1 --specific_seed 0 \ --configs desert.gin simple.gin --pipeline_configs local_16GB.gin monocular.gin blender_gt.gin --pipeline_overrides LocalScheduleHandler.use_gpu=False --debug"

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/samhitamarri/Downloads/Research/PlantCare/infinigen/worldgen/tools/manage_datagen_jobs.py", line 15, in <module>
    import gin
ModuleNotFoundError: No module named 'gin'

If this is your first time running Infinigen, what are the full output logs of install.sh ?**

Platform

Additional context

Add any other context about the problem here.

araistrick commented 12 months ago

Hello, this appears to be an installation issue, please run bash install.sh > logs.txt 2>&1 and attach the logs.txt file.

samhita-m commented 12 months ago

Here is the logs.txt file.

logs.txt

TJKlein commented 12 months ago

I have exactly the same problem.