mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-24 08:35:41 +08:00
Fix bug in SplatfactoModel when sh_degree is zero the color is not with sigmoid (#3207)
* torch.compile -> torch_compile from misc * sigmoid on color when sh_degree==0 --------- Co-authored-by: Ruilong Li <397653553@qq.com>
This commit is contained in:
1 parent
d220600b8b
commit
4b61cb9e6d
1 file changed
+1
@@ -728,6 +728,7 @@ class SplatfactoModel(Model):
|
||||
if self.config.sh_degree > 0:
|
||||
sh_degree_to_use = min(self.step // self.config.sh_degree_interval, self.config.sh_degree)
|
||||
else:
|
||||
colors_crop = torch.sigmoid(colors_crop)
|
||||
sh_degree_to_use = None
|
||||
|
||||
render, alpha, info = rasterization(
|
||||
|
||||
Reference in new issue
Block a user