Skip to content

Minor DoMINO training bug fixes #907

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Minor DoMINO training bug fixes #907

wants to merge 3 commits into from

Conversation

mnabian
Copy link
Collaborator

@mnabian mnabian commented May 23, 2025

PhysicsNeMo Pull Request

Minor DoMINO training bug fixes

Description

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The CHANGELOG.md is up to date with these changes.
  • An issue is linked to this pull request.

Dependencies

@mnabian mnabian self-assigned this May 23, 2025
@mnabian
Copy link
Collaborator Author

mnabian commented May 23, 2025

/blossom-ci

@mnabian mnabian changed the base branch from main to 1.1.0-rc May 23, 2025 01:42
@mnabian
Copy link
Collaborator Author

mnabian commented May 23, 2025

/blossom-ci

@mnabian mnabian changed the base branch from 1.1.0-rc to main May 23, 2025 01:43
Copy link
Collaborator

@RishikeshRanade RishikeshRanade left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

Choose a reason for hiding this comment

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

This version change should not happen in the main branch

@@ -596,8 +596,8 @@ def main(cfg: DictConfig) -> None:
vol_save_path = os.path.join(cfg.project_dir, "volume_scaling_factors.npy")
surf_save_path = os.path.join(cfg.project_dir, "surface_scaling_factors.npy")
if os.path.exists(vol_save_path) and os.path.exists(surf_save_path):
vol_factors = np.load(vol_save_path)
surf_factors = np.load(surf_save_path)
vol_factors = np.load(vol_save_path, allow_pickle=True)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this a must?
Security vulnerability to support using pickle

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.

4 participants