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

Running MobileNeRF on non-GPU server #186

Open
smtabatabaie opened this issue Aug 6, 2023 · 5 comments
Open

Running MobileNeRF on non-GPU server #186

smtabatabaie opened this issue Aug 6, 2023 · 5 comments

Comments

@smtabatabaie
Copy link

Hi, I wanted to ask if mobileNerf can be run on a non-GPU normal server. I mean training it on a local GPU machine and then serving it on a non-GPU server for viewers to view the mobileNerf on their browser.
Thanks

@DWhettam
Copy link

DWhettam commented Aug 8, 2023

If WebGL is supported, then yes. Go here to check: https://webglreport.com/?v=2
You can also just test out the provided demos on the machine you want to use. WebGL runs on the client side, so the models will be ran on your local machine.

@smtabatabaie
Copy link
Author

Thanks very much @DWhettam , Is it possible to train mobilenerf on an Nvidia 3090 ?

@DWhettam
Copy link

DWhettam commented Aug 8, 2023

I'm not the authors, and I've not tried, but I don't see why not. Give it a go! You may need to comment out the line checking for 8 GPUs.

@smtabatabaie
Copy link
Author

Thanks very much @DWhettam , I could train the chair scene with my 3090 successfully (took about a day!).
Can you also help me on how can I train my own custom dataset with mobilenerf? I mean I've got NeRFs trained with Nerfstudio, can I use those scenes and convert and train them with mobilenerf?
Thanks again

@DWhettam
Copy link

DWhettam commented Aug 14, 2023

@smtabatabaie No worries. Again, I'm not the authors so I'm not an expert on this at all. I don't know about Nerfstudio, but I'm having a go at using my own dataset at the moment so I can share some insight. You will need to extract camera poses and resize your data. I have been trying to follow the process used in multinerf (https://github.com/google-research/multinerf/tree/main) as that is the source of the real360 dataset. I haven't finished testing this yet, but my understanding is you will need to create camera poses using LLFF (https://github.com/Fyusion/LLFF#general-step-by-step-usage), and then resize your images using the multinerf script (https://github.com/google-research/multinerf/blob/main/scripts/local_colmap_and_resize.sh). I think once you've done those you should have all the necessary files for training, although I will report back once I've confirmed myself

EDIT: I have got this working following the steps as described. With camera poses and resized images it should work out the box.

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

2 participants