File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
nerfstudio/data/datamanagers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments