oppo-us-research / SpacetimeGaussians

[CVPR 2024] Spacetime Gaussian Feature Splatting for Real-Time Dynamic View Synthesis
https://oppo-us-research.github.io/SpacetimeGaussians-website/
Other
583 stars 43 forks source link

IndexError: list index out of range #8

Open HoloDirk opened 9 months ago

HoloDirk commented 9 months ago

Hi all,

Installation done. Running of cook_spinach went well till the end; Index error in "pre_n_3d.py" (SpacetimeGaussians/scripts)

My code output with error-

(colmapenv) C:\Users\Dirk\SpacetimeGaussians>python script/pre_n3d.py --videopath data/Neural_3D_Video/cook_spinach/ start extracting 300 frames from videos 100%|██████████████████████████████████████████████████████████████████████████████████| 21/21 [10:27<00:00, 29.88s/it] start preparing colmap image input start preparing colmap database input Traceback (most recent call last): File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 216, in convertdynerftocolmapdb(videopath, offset) File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 120, in convertdynerftocolmapdb cameraname = os.path.basename(video_paths[i])[:-4]#"cam" + str(i).zfill(2) IndexError: list index out of range

Help appreciated.

lizhan17 commented 9 months ago

Hi all,

Installation done. Running of cook_spinach went well till the end; Index error in "pre_n_3d.py" (SpacetimeGaussians/scripts)

My code output with error-

(colmapenv) C:\Users\Dirk\SpacetimeGaussians>python script/pre_n3d.py --videopath data/Neural_3D_Video/cook_spinach/ start extracting 300 frames from videos 100%|██████████████████████████████████████████████████████████████████████████████████| 21/21 [10:27<00:00, 29.88s/it] start preparing colmap image input start preparing colmap database input Traceback (most recent call last): File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 216, in convertdynerftocolmapdb(videopath, offset) File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 120, in convertdynerftocolmapdb cameraname = os.path.basename(video_paths[i])[:-4]#"cam" + str(i).zfill(2) IndexError: list index out of range

Help appreciated.

Hi, training, testing and preprocessing are tested on Ubuntu 20.04. More efforts are needed for windows. (like slash in windows..)

HoloDirk commented 9 months ago

Thank you very much for that answer. I will review the /\ or win enviro issues and/or try in ubuntu.


From: lizhan @.> Sent: Wednesday, January 3, 2024 4:39 PM To: oppo-us-research/SpacetimeGaussians @.> Cc: HoloDirk @.>; Author @.> Subject: Re: [oppo-us-research/SpacetimeGaussians] IndexError: list index out of range (Issue #8)

Hi all,

Installation done. Running of cook_spinach went well till the end; Index error in "pre_n_3d.py" (SpacetimeGaussians/scripts)

My code output with error-

(colmapenv) C:\Users\Dirk\SpacetimeGaussians>python script/pre_n3d.py --videopath data/Neural_3D_Video/cook_spinach/ start extracting 300 frames from videos 100%|██████████████████████████████████████████████████████████████████████████████████| 21/21 [10:27<00:00, 29.88s/it] start preparing colmap image input start preparing colmap database input Traceback (most recent call last): File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 216, in convertdynerftocolmapdb(videopath, offset) File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 120, in convertdynerftocolmapdb cameraname = os.path.basename(video_paths[i])[:-4]#"cam" + str(i).zfill(2) IndexError: list index out of range

Help appreciated.

Hi, training, testing and preprocessing are tested on Ubuntu 20.04. More efforts are needed for windows. (like slash in windows..)

— Reply to this email directly, view it on GitHubhttps://github.com/oppo-us-research/SpacetimeGaussians/issues/8#issuecomment-1876156544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFSEDHPHHKNIK2L3TKXPD3DYMX25PAVCNFSM6AAAAABBMFKIDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGE2TMNJUGQ. You are receiving this because you authored the thread.Message ID: @.***>

lizhan17 commented 9 months ago

Thank you very much for that answer. I will review the /\ or win enviro issues and/or try in ubuntu. ____ From: lizhan @.> Sent: Wednesday, January 3, 2024 4:39 PM To: oppo-us-research/SpacetimeGaussians @.> Cc: HoloDirk @.>; Author @.> Subject: Re: [oppo-us-research/SpacetimeGaussians] IndexError: list index out of range (Issue #8) Hi all, Installation done. Running of cook_spinach went well till the end; Index error in "pre_n_3d.py" (SpacetimeGaussians/scripts) My code output with error- (colmapenv) C:\Users\Dirk\SpacetimeGaussians>python script/pre_n3d.py --videopath data/Neural_3D_Video/cook_spinach/ start extracting 300 frames from videos 100%|██████████████████████████████████████████████████████████████████████████████████| 21/21 [10:27<00:00, 29.88s/it] start preparing colmap image input start preparing colmap database input Traceback (most recent call last): File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 216, in convertdynerftocolmapdb(videopath, offset) File "C:\Users\Dirk\SpacetimeGaussians\script\pre_n3d.py", line 120, in convertdynerftocolmapdb cameraname = os.path.basename(video_paths[i])[:-4]#"cam" + str(i).zfill(2) IndexError: list index out of range Help appreciated. Hi, training, testing and preprocessing are tested on Ubuntu 20.04. More efforts are needed for windows. (like slash in windows..) — Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFSEDHPHHKNIK2L3TKXPD3DYMX25PAVCNFSM6AAAAABBMFKIDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGE2TMNJUGQ. You are receiving this because you authored the thread.Message ID: @.***>

For compatibility with Windows, we are busy dealing with other issues, and will try to adapt to Windows later. Please stay tuned for that.