Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mill 19 dataset #2742

Merged
merged 3 commits into from
Jan 10, 2024
Merged

Add Mill 19 dataset #2742

merged 3 commits into from
Jan 10, 2024

Conversation

hturki
Copy link
Contributor

@hturki hturki commented Jan 9, 2024

This adds the Mill 19 dataset to the ns-download-data script and converts it to the format that the nerfstudio data parser expects:

image

image

Copy link
Collaborator

@brentyi brentyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just nits 🙂


capture_name: Mill19CaptureName = "building"

def download(self, save_dir: Path):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(nit) this could use a return annotation -> None

), f"Capture name {self.capture_name} not found in {mill19_downloads.keys()}"
url = mill19_downloads[self.capture_name]
target_path = str(save_dir / f"mill19/{self.capture_name}")
os.makedirs(target_path, exist_ok=True)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use the pathlib API for these operations instead? like:

target_path = save_dir / ...
target_path.mkdir(exist_ok=True)

same for replacing os.listdir(), os.path.join(), etc below

nerfstudio/scripts/downloads/download_data.py Show resolved Hide resolved
@brentyi brentyi enabled auto-merge (squash) January 10, 2024 05:00
@brentyi brentyi merged commit 4e8c65c into nerfstudio-project:main Jan 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants