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

background color #50

Open
yungommi opened this issue Jun 29, 2024 · 3 comments
Open

background color #50

yungommi opened this issue Jun 29, 2024 · 3 comments

Comments

@yungommi
Copy link

I scanned an object at the center and applied background removal, making all the backgrounds white. However, when I tested your code, white points from the background were also reconstructed. How can I fix this issue? Should I use a different background color when removing the background in my images to avoid this problem?
i don't want background to be reconstructed. only object at the center is needed

@maturk
Copy link
Owner

maturk commented Jun 29, 2024

Hi, currently the background is set to random by default. Can you try adding the flag --pipeline.model.background-color white when training with ns-train dn-splatter [options] --pipeline.model.background-color white --data path_to_data/ this will set the background color to white.

One other option if this does not work is to use masks while trianing.

Let me know if any of these help. You can also post images/screenshots so I can see the results better. I have not tried training with different backgrounds yet.

@ruiqiyan
Copy link

ruiqiyan commented Nov 9, 2024

Hi, currently the background is set to random by default. Can you try adding the flag--pipeline.model.background-color whitewhen training withns-train dn-splatter [options] --pipeline.model.background-color white --data path_to_data/this will set the background color to white.

One other option if this does not work is to use masks while trianing.

Let me know if any of these help. You can also post images/screenshots so I can see the results better. I have not tried training with different backgrounds yet.

How do I use masks during trianing?

@ruiqiyan
Copy link

ruiqiyan commented Nov 9, 2024

Hi, currently the background is set to random by default. Can you try adding the flag--pipeline.model.background-color whitewhen training withns-train dn-splatter [options] --pipeline.model.background-color white --data path_to_data/this will set the background color to white.
One other option if this does not work is to use masks while trianing.
Let me know if any of these help. You can also post images/screenshots so I can see the results better. I have not tried training with different backgrounds yet.

How do I use masks during trianing?

Do you use the format of the DTU 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

3 participants