Mercerai / EvGGS

Coda and Dataset of EvGGS: A Collaborative Learning Framework for Event-based Generalizable Gaussian Splatting
22 stars 2 forks source link

in dataset, there is no train_scenes.txt (or any splited set's text files) #3

Open HyunsuYEE opened 3 months ago

HyunsuYEE commented 3 months ago
(evggs) root@d1b187c3ab58:~/dev/EvGGS# python train_gs.py 
configs/Ev3D_pretrain.yaml
EXP NAME:  experimental_name
Traceback (most recent call last):
  File "train_gs.py", line 233, in <module>
    trainer = Trainer()
  File "train_gs.py", line 27, in __init__
    batch_size=1, shuffle=False)
  File "/root/dev/EvGGS/lib/dataset/Ev3D.py", line 83, in __init__
    dataset = concatenate_datasets_split(base_folders, ReadEventFromH5, split=split)
  File "/root/dev/EvGGS/lib/dataset/Ev3D.py", line 68, in concatenate_datasets_split
    with open(scenes_path, 'r', encoding='utf-8') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'dataset/train_scenes.txt'

this part is in the def concatenate_datasets_split(base_folders, dataset_type, split, dataset_kwargs={}) function I download synthetic & real dataset both, but there is no txt files anywhere. can you notice about it? thank you.

Mercerai commented 3 months ago

Thanks for sharing this bug with us. Today we have fixed the synthetic zip file, please download it again. The training.txt of real data would be fixed tomorrow.

HyunsuYEE commented 2 months ago

thank you. thanks to your modification, I could run the train_gs.py. but, I want to know how to visualize the img or depth or masks like your pipe. can you inform about how to visualize the depth or masks (I request the code!)? image But, I want below depth map visualization.

image

Upper one is visualization which I made. But I think, it is some kind of 'coarse' gt depth.(there is no light and shade in the g.t. depth map.) Can you share your code for visualizing 'dense' depth map?(into the png file) Thanks for your efforts, I can learn more. :) thank you.

Mercerai commented 1 month ago

Thanks for your issue. Of course, this is very easy to convert the depth map into a colored image. You can directly use the function "depth2img(depth)" in the "lib.utils" module. Just directly input the depth into the function, this will smoothly map the depth value by our predefined functional color bar.