Skip to content

Commit c316a7b

Browse files
committed
lint
1 parent 94afc0b commit c316a7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nerfstudio/data/datamanagers/base_datamanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def __post_init__(self):
357357
try:
358358
torch.multiprocessing.set_start_method("spawn")
359359
except RuntimeError:
360-
assert torch.multiprocessing.get_start_method() == "spawn",'start method must be "spawn"'
360+
assert torch.multiprocessing.get_start_method() == "spawn", 'start method must be "spawn"'
361361
self.dataloader_num_workers = 4 if self.dataloader_num_workers == 0 else self.dataloader_num_workers
362362

363363

nerfstudio/data/datamanagers/full_images_datamanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def __post_init__(self):
9797
try:
9898
torch.multiprocessing.set_start_method("spawn")
9999
except RuntimeError:
100-
assert torch.multiprocessing.get_start_method() == "spawn",'start method must be "spawn"'
100+
assert torch.multiprocessing.get_start_method() == "spawn", 'start method must be "spawn"'
101101
if self.prefetch_factor == 0:
102102
CONSOLE.log('cache_images set to "disk" with no prefetch factor, defaulting to 4')
103103
self.prefetch_factor = 4

0 commit comments

Comments
 (0)