GithubHelp home page GithubHelp logo

yuehaowang / recolornerf Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 6.0 82 KB

RecolorNeRF: Layer Decomposed Radiance Fields for Efficient Color Editing of 3D Scenes

Home Page: https://sites.google.com/view/recolornerf

Python 89.09% Jupyter Notebook 8.23% Cython 2.68%
acmmm2023 color-edit nerfs neural-rendering palettes pytorch recoloring

recolornerf's People

Contributors

yuehaowang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

recolornerf's Issues

reference time?

Thanks for your great work!
I'm interested in the reference time for one image. If I change the color in Real-time, how much should the maximum resolution be?

Can I edit the local colors?

Thank you for your good work!
I would like to recolor a local area of the target, but from what the paper says, it seems that this would change the overall color.

Confusion about palette output dimensions

models/palette_tensoRF.py
class PLTRender(torch.nn.Module):
def init():
self.n_dim = 3 + len_palette
......
layer1 = torch.nn.Linear(self.in_mlpC, featureC)
layer2 = torch.nn.Linear(featureC, featureC)
layer3 = torch.nn.Linear(featureC, len_palette - 1)
torch.nn.init.constant_(layer3.bias, 0)
self.mlp = torch.nn.Sequential(
layer1, torch.nn.LeakyReLU(inplace=True),
layer2, torch.nn.LeakyReLU(inplace=True),
layer3)
self.n_dim += 1
I recently tried to integrate this work of yours on instant-ngp.
But I do not understand the role of self.n_dim, and why the output dimension of layer3 is len_palette - 1.
Besides,why is the activation function after each layer LeakyReLU, and the Relu function is also used in TensoRF.

Hope you can help me

Best wish!

For layer sparse regularization, why not use L1 loss?

You said in your paper :
“we aim to penalize the L0 norm of these components, i.e., k [𝑊1 , . . . , 𝑊𝐾 ] k 0 . Since the L0 norm is not differ-
entiable, we design a specialized soft counting norm”.
But the L1 norm is the optimal convex approximation of the L0 norm, and it is easier to optimize and solve than the L0 norm, so why don't you use the L1 norm to achieve regularization.

How to edit colors freely?

Hi friend, thanks for your previous answer.
When I run color_edit.ipynb, there is no GUI that I would expect to allow me to easily edit colors.
What parameters should I edit to edit the nerf color?
Or just edit the order of color layers in get_palette.ipynb or add new color layers?

palette color

Hi, thank you for your work!
Please, why are the colors given for the palette parameters different from the palette colors in the article such as fern?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.