onpix / LLNeRF

[ICCV2023] Lighting up NeRF via Unsupervised Decomposition and Enhancement
https://whyy.site/paper/llnerf
MIT License
84 stars 9 forks source link

AttributeError: module 'pycolmap' has no attribute 'SceneManager' #12

Closed happyC-H-L closed 10 months ago

happyC-H-L commented 11 months ago

Hello! I want to consult a question about pycolmap. I pip install 'pycolmap' in my created environment at first. However, when I run "bash train.sh", I met this attribute error that module 'pycolmap' has no attribute 'SceneManager'. I notice that in 'datasets.py', there states a nerf-specific extension to the third party exists, but I can still not find the file 'scene_manager.py'. Can you provide some suggestions? Thank you very much.

onpix commented 11 months ago

Oh, it seems that I did not upload internel/pycolmap folder. Please clone it from: https://github.com/google-research/multinerf/blob/main/internal/pycolmap

I will also update the missing files soon.

onpix commented 11 months ago

Pycolmap updated.

happyC-H-L commented 11 months ago

Thank you very much for your timely response! I have solved this problem. However, I met one new problem about 'config.logfile'. The error shows that there is no 'logs/llnerf__scene_name.txt' file. Did I make some mistakes when running the code? Sorry to have this bother.

onpix commented 11 months ago

This txt is the log file so I guess you just need to mkdir ./logs manually. If you still encounter errors, you may check the IO permissions of files.

happyC-H-L commented 11 months ago

Thank you very much! I have solved this problem. Thanks again for your timely and patient response!

gaost-Sun commented 11 months ago

Pycolmap updated.

I found the Pycolmap is empty ,the link-https://github.com/google-research/multinerf/blob/main/internal/pycolmap is empty as well,can you grovide some suggestions? Thank you very much.

onpix commented 10 months ago

Please clone the git sub-modules.