-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Question: How to render my custom output via ns-render dataset #3568
Comments
Have similar issue when trying to use ns-render dataset on the instant-ngp or instant-ngp-bound model (nerfacto and splatfacto worked fine with the same custom dataset). When running the following command: ns-render dataset --load-config D:\outputs\car\car\instant-ngp-bounded\2025-01-09_120024\config.yml --output-path D:\renders\car\instant-ngp-bound --split train+test I get the same error message: Traceback (most recent call last): Haven't found any solutions for this on any forums yet. |
Thank you for confirming this. Do you mean custom dataset or custom output? I think the reason could be that ns-render dataset doesn't support rendering custom output. Anyway, I did a workaround that could render the outputs including my custom output. |
Hi! have you tried using the the flag is defined here nerfstudio/nerfstudio/scripts/render.py Lines 426 to 427 in 66cd681
|
Thanks for your comments. I did but it throw out error when I tried to render my custom output while other non-customs are fine. I don't know if I need to do something extra, apart from adding new custom output to the returned output dict, to be able to render using ns-render dataset, as it works for ns-render camera-path, but of course they're different classes. I believe it's around here to trace back which I haven't done yet after having found a workaround. nerfstudio/nerfstudio/scripts/render.py Lines 871 to 879 in 66cd681
|
@WojGaj24 Thank for your update. |
Hello there,
I have modified instant_ngp.py to include my custom output. My custom output can be seen in nerfstudio viewer. However, when I use ns-render dataset to save the rendered images to file, the app hangs and throws the error NotImplementedError for apply_colormap.
I am able to render all (e.g. depth, rgb) but my custom output. Is there anything I have missed?
Any pointer to this would be greatly appreciated. Thank you very much.
For the details, below is what I have done:
The text was updated successfully, but these errors were encountered: