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

Feat : pt: support property fitting #3488

Closed
wants to merge 46 commits into from

[pre-commit.ci] auto fixes from pre-commit.com hooks

4965529
Select commit
Loading
Failed to load commit list.
Closed

Feat : pt: support property fitting #3488

[pre-commit.ci] auto fixes from pre-commit.com hooks
4965529
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Mar 18, 2024 in 4s

8 new alerts

New alerts in code changed by this pull request

  • 8 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 471 in deepmd/pt/model/task/denoise.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.

Check notice on line 11 in deepmd/pt/model/model/denoise_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
deepmd.pt.model.model.dp_model
begins an import cycle.

Check notice on line 56 in deepmd/pt/model/model/dp_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
deepmd.pt.model.model.denoise_model
begins an import cycle.

Check notice on line 71 in deepmd/pt/model/model/dp_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
deepmd.pt.model.model.property_model
begins an import cycle.

Check notice on line 11 in deepmd/pt/model/model/property_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
deepmd.pt.model.model.dp_model
begins an import cycle.

Check notice on line 74 in deepmd/infer/deep_property.py

See this annotation in the file changed.

Code scanning / CodeQL

Returning tuples with varying lengths Note

DeepProperty.eval returns
tuple of size 1
and
tuple of size 2
.

Check notice on line 387 in deepmd/pt/model/task/denoise.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nnei is not used.

Check notice on line 449 in deepmd/pt/model/task/denoise.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable xx_zeros is not used.