gsplat icon indicating copy to clipboard operation
gsplat copied to clipboard

Is there a missing __init__.py file in the gsplat/examples/datasets/ directory?" ?

Open hlnull opened this issue 6 months ago • 1 comments

By following the instructions from the gsplat documentation

CUDA_VISIBLE_DEVICES=0 python simple_trainer.py default \
    --data_dir data/360_v2/garden/ --data_factor 4 \
    --result_dir ./results/garden

I met the following error.

PYTHONPATH=gsplat/examples CUDA_VISIBLE_DEVICES=0 python simple_trainer.py default --data_dir data/360_v2/garden/ --data_factor 4 --result_dir ./results/garden
Traceback (most recent call last):
  File "/opt/data/private/workspace/gsplat-git/gsplat/examples/simple_trainer.py", line 24, in <module>
    from datasets.colmap import Dataset, Parser
ModuleNotFoundError: No module named 'datasets.colmap'

Is there a missing __init__.py file in the gsplat/examples/datasets/ directory?"

hlnull avatar Jul 10 '25 03:07 hlnull

I agree with this. I also did "touch ./examples/datasets/init.py".

kyuhyoung avatar Jul 10 '25 04:07 kyuhyoung