-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add Mill 19 dataset #2742
Conversation
There was a problem hiding this 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): |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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
This adds the Mill 19 dataset to the ns-download-data script and converts it to the format that the nerfstudio data parser expects: