-
Notifications
You must be signed in to change notification settings - Fork 7
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
ns-process-data cannot process dynamic custom data? #4
Comments
The same question here |
The idea is to add a new data source to nerfstudio. There is the following issue (with little guidance) nerfstudio-project/nerfstudio#2018 At least in the beginning, the dataset used is mostly independent from the model used (in this case k-planes). Then you'll have to do some hyperparameter tuning on the configuration of the model to adapt to your dataset. |
I've had the same issues. There's a thread in the nerfstudio discord (dated 25/05/23) that says it can't yet process dynamic video data. I don't believe this has been resolved yet. The alternatives discussed are:
I haven't found any repos which do (1)-> if anyone know any which work please share! I also haven't had much success with (2) as the frames selected by colmap aren't linearly sequenced with time so requires scrubbing through video and matching each frame to the video. Doing this manually is not really possible, so might be worth scripting this with ffmpeg and/or python? Any pointers would be much appreciated. |
So this is where we are for now it seems. No clear way for dynamic video to be converted to data that is compatible with this? Has anyone had any success with including the time element into the data after COLMAP? |
So I was able to get the output json files from colmap to be in ascending order and added time 0-1 like in the dnerf transforms_train.json. I also added rotation but just set it at 0 for every one since I don't know what they were referring to. But then it says it needs transforms_val.json... Any idea how they generated that? Then there is transforms_train.json as well. |
I got my data into the correct enough format to run k-planes-dynamic model for training, the color of the scene was present, but never converged into any actual render. Have to know exactly how they produced this format of data |
So I was also able to create dataset (and it works) by looking at the dnerf parser for nerfstudio. Heres some of the findings:
Any findings from others/comments would be helpful to know if anyone is encounter similar issues? EDIT: After using the |
So you actually generated a dynamic nerf render of your own video? I set my camera_angle_x at 0.69. I set 0 for rotation and time as an even split 0-1 based on how many frames total. It did load and start training, but never converged. Maybe that is because of the scene scale adjustment you are referencing? I do not know how to change that yet myself, maybe I just wasn't visualizing it correctly... |
Yes, I was able to do it on several datasets. I beleieve I also used rotation of 0 amd linearly assigned time to images in order as you seem to have done. Scene scale was important for getting right results but I also adjusted far and near collider planes (which can be done in CLI) and the background colour (random seems best for overall psnr but visually has the worst artifacts). Honestly, Ive implemented a lot of dynamic models, theyre all pretty challenging to hyperparam tune (and very few offer custom dataset support). They always initially look bad until you hit a sweet spot with the settings, then the results are okay. Theyre definitely not "great" quality so might be worth keeping that in mind too. Good luck! |
so grateful for your project!And I have test exsiting dnerf data,it worked well.
But when i use my own video data (consisting of dynamic object), it seems working wrong and i don't konw how to process and train data.
Any suggestion about me? Thanks!
The text was updated successfully, but these errors were encountered: