mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-20 22:56:03 +08:00
Sigmoid on background, prompt in config
This commit is contained in:
1 parent
dd2a50574a
commit
0dbebaf1cd
4 files changed
+88
-64
No files matched your search
@@ -143,7 +143,7 @@ class DreamFusionField(Field):
|
||||
network_config={
|
||||
"otype": "FullyFusedMLP",
|
||||
"activation": "ReLU",
|
||||
"output_activation": "None",
|
||||
"output_activation": "Sigmoid",
|
||||
"n_neurons": 64,
|
||||
"n_hidden_layers": 2,
|
||||
},
|
||||
@@ -193,7 +193,6 @@ class DreamFusionField(Field):
|
||||
background_rgb = self.mlp_background_color(positions_flat).view(*outputs_shape, -1).to(directions)
|
||||
return background_rgb
|
||||
|
||||
|
||||
def get_outputs(self, ray_samples: RaySamples, density_embedding: Optional[TensorType] = None):
|
||||
assert density_embedding is not None
|
||||
outputs = {}
|
||||
|
||||
Reference in new issue
Block a user