DarlingHang / st-nerf

PyTorch implementations for our SIGGRAPH 2021 paper: Editable Free-viewpoint Video Using a Layered Neural Representation.
297 stars 35 forks source link

ModuleNotFoundError: No module named 'config' #19

Open GoroYeh-HRI opened 5 months ago

GoroYeh-HRI commented 5 months ago

Hi,

I got the error "No module named 'config' " when executing command:

python demo/walking_demo.py -c configs/config_walking.yml

image

Any idea what might be wrong? Thanks!

GoroYeh-HRI commented 5 months ago

My temporary solution is to add the following lines to walking_demo.py:

project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print(f"project_path {project_path}")
sys.path.append(project_path)