NVIDIAGameWorks / kaolin-wisp

NVIDIA Kaolin Wisp is a PyTorch library powered by NVIDIA Kaolin Core to work with neural fields (including NeRFs, NGLOD, instant-ngp and VQAD).
Other
1.46k stars 132 forks source link

ImportError: cannot import name 'parse_options' from 'wisp.config_parser' #54

Closed robo-warrior2 closed 2 years ago

robo-warrior2 commented 2 years ago

Obtaining this error while trying to test NGLOD:

(wisp) PS E:\Projects\kaolin-wisp> python app\main.py --config configs\nglod_nerf.yaml --dataset-path .\data\V8 --dataset-num-workers 4
Traceback (most recent call last):
  File "app\main.py", line 14, in <module>
    from wisp.config_parser import parse_options, argparse_to_str, get_modules_from_config, \
ImportError: cannot import name 'parse_options' from 'wisp.config_parser' (e:\projects\kaolin-wisp\wisp\config_parser.py)
salykova commented 2 years ago

Same problem, cannot run demo app. They updated the config_parser, but didn't update templates and demo apps

salykova commented 2 years ago

@robo-warrior2 try to use app\main_multiview.py or app\main_sdf.py instead of app\main.py. It solved my problem

Caenorst commented 2 years ago

Hi @robo-warrior2 @salykovaa looks like I broke some of the main / README / demo / template, I'm reverting back until everything is solved. Please update your local repository and you can use app/main.py again.