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 std for eval #2239

Merged
merged 2 commits into from
Jul 17, 2023
Merged

Add std for eval #2239

merged 2 commits into from
Jul 17, 2023

Conversation

Khoa-NT
Copy link
Contributor

@Khoa-NT Khoa-NT commented Jul 17, 2023

Add measure std

@@ -183,12 +183,15 @@ def get_eval_image_metrics_and_images(self, step: int):

@abstractmethod
@profiler.time_function
def get_average_eval_image_metrics(self, step: Optional[int] = None, output_path: Optional[Path] = None):
def get_average_eval_image_metrics(
self, step: Optional[int] = None, output_path: Optional[Path] = None, get_std: Optional[bool] = None
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason to use Optional?, why not get_std: bool = False

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No reason. I revised the default value to False.

Copy link
Contributor

@tancik tancik left a comment

Choose a reason for hiding this comment

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

LGTM

@tancik tancik merged commit dbd4092 into nerfstudio-project:main Jul 17, 2023
4 checks passed
@Khoa-NT Khoa-NT deleted the add_std branch July 17, 2023 22:07
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.

None yet

2 participants