mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 23:08:44 +08:00
Fix typing
This commit is contained in:
1 parent
5e3daee0ae
commit
fba0e93aca
1 file changed
+4
-1
@@ -98,12 +98,15 @@ def get_dataset_inputs_dict(
|
|||||||
"""
|
"""
|
||||||
dataset_inputs_dict = {}
|
dataset_inputs_dict = {}
|
||||||
|
|
||||||
|
if alpha_color is not None:
|
||||||
|
alpha_color = get_color(alpha_color)
|
||||||
|
|
||||||
if dataset_type == "blender":
|
if dataset_type == "blender":
|
||||||
for split in splits:
|
for split in splits:
|
||||||
dataset_inputs = load_blender_data(
|
dataset_inputs = load_blender_data(
|
||||||
get_absolute_path(data_directory),
|
get_absolute_path(data_directory),
|
||||||
downscale_factor=downscale_factor,
|
downscale_factor=downscale_factor,
|
||||||
alpha_color=get_color(alpha_color),
|
alpha_color=alpha_color,
|
||||||
)
|
)
|
||||||
dataset_inputs_dict[split] = dataset_inputs
|
dataset_inputs_dict[split] = dataset_inputs
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user