4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00

fix typo: "dictioary" -> "dictionary" (#1162)

This commit is contained in:
JamesPerlman 2022-12-22 10:00:47 -08:00 committed by GitHub
parent 335c5c3661
commit 7fe4a77b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ class PixelSampler: # pylint: disable=too-few-public-methods
image_batch: batch of images to sample from
"""
if isinstance(image_batch["image"], list):
image_batch = dict(image_batch.items()) # copy the dictioary so we don't modify the original
image_batch = dict(image_batch.items()) # copy the dictionary so we don't modify the original
pixel_batch = collate_image_dataset_batch_list(
image_batch, self.num_rays_per_batch, keep_full_image=self.keep_full_image
)