mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 11:24:00 +08:00
polycam bug
This commit is contained in:
1 parent
11371d3e1d
commit
62f3e6dc86
1 file changed
+3
@@ -152,6 +152,9 @@ class ProcessPolycam(BaseConverterToNerfstudioDataset):
|
||||
zip_ref.extractall(self.output_dir)
|
||||
extracted_folder = zip_ref.namelist()[0].split("/")[0]
|
||||
self.data = self.output_dir / extracted_folder
|
||||
if not (self.data / "keyframes").exists():
|
||||
# new versions of polycam data have a different structure, strip the last dir off
|
||||
self.data = self.output_dir
|
||||
|
||||
if (self.data / "keyframes" / "corrected_images").exists() and not self.use_uncorrected_images:
|
||||
polycam_image_dir = self.data / "keyframes" / "corrected_images"
|
||||
|
||||
Reference in new issue
Block a user