Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training on Custom data #22

Open
MultiTrickFox opened this issue May 20, 2023 · 6 comments
Open

Training on Custom data #22

MultiTrickFox opened this issue May 20, 2023 · 6 comments

Comments

@MultiTrickFox
Copy link

Hello, how can I train on a custom video data using your framework?

@Giodiro
Copy link
Collaborator

Giodiro commented May 21, 2023

Hi @MultiTrickFox ,
Of course you can! To do it using the code here you'll need to create your own dataset class.
As an example, https://github.com/sarafridov/K-Planes/blob/main/plenoxels/datasets/video_datasets.py is the one we used for DNeRF and DyNeRF datasets.

An alternative is to use the kplanes integration into nerfstudio. With that code, you can use the nerfstudio support for custom datasets, depending on the format of your data this could be easy or not. Also have a look at these other docs for nerfstudio + kplanes

@Kane-LAU
Copy link

Hi @MultiTrickFox , Of course you can! To do it using the code here you'll need to create your own dataset class. As an example, https://github.com/sarafridov/K-Planes/blob/main/plenoxels/datasets/video_datasets.py is the one we used for DNeRF and DyNeRF datasets.

An alternative is to use the kplanes integration into nerfstudio. With that code, you can use the nerfstudio support for custom datasets, depending on the format of your data this could be easy or not. Also have a look at these other docs for nerfstudio + kplanes

Hi @MultiTrickFox , Of course you can! To do it using the code here you'll need to create your own dataset class. As an example, https://github.com/sarafridov/K-Planes/blob/main/plenoxels/datasets/video_datasets.py is the one we used for DNeRF and DyNeRF datasets.

An alternative is to use the kplanes integration into nerfstudio. With that code, you can use the nerfstudio support for custom datasets, depending on the format of your data this could be easy or not. Also have a look at these other docs for nerfstudio + kplanes

Thank you for your contribution. I have also tried the addon(kplanes-nerfstudio), but I can only train on existing datasets. I'm not sure how to process the my own data(dynamic real world video). The data processing methodsand tools in NERF Studio seem to be only focused on static scenes, and I haven't seen any specific parameters for handling dynamic scenes. Can you provide me with more information?

@seva1232
Copy link

seva1232 commented Jun 2, 2023

Hi @liuxin2322!
Actually, in nerfplayer there are some dynamic datasets, like Nuscenes. Some models there can also deal with it, you just need to process time additionally. However, the kplanes integration to nerfstudio seems to be buggy ATM=(.

@Kane-LAU
Copy link

Kane-LAU commented Jun 2, 2023

Hi @liuxin2322! Actually, in nerfplayer there are some dynamic datasets, like Nuscenes. Some models there can also deal with it, you just need to process time additionally. However, the kplanes integration to nerfstudio seems to be buggy ATM=(.

YEP! I have noticed the code like Nuscenes yesterday. I plan to process the video and generate mask , then use colmap to calculate camera pose . ANYWAY, Thanks for your reply

@yavon818
Copy link

yavon818 commented Sep 1, 2023

@Kane-LAU Have you successfully run the code on your own custom videos? I am really curious about how to achieve that. I wonder if you could share the code.

Thanks

@Zakaria1405
Copy link

can you explain how can i generate the bds.npy file if i'm aiming to create my own dataset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants