Skip to content

fix bug of loss_func

Codecov / codecov/patch succeeded Mar 22, 2024 in 1s

75.00% of diff hit (within 100.00% threshold of 77.68%)

View this Pull Request on Codecov

75.00% of diff hit (within 100.00% threshold of 77.68%)

Annotations

Check warning on line 27 in deepmd/dpmodel/fitting/property_fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/fitting/property_fitting.py#L27

Added line #L27 was not covered by tests

Check warning on line 130 in deepmd/dpmodel/fitting/property_fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/fitting/property_fitting.py#L130

Added line #L130 was not covered by tests

Check warning on line 62 in deepmd/infer/deep_property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/infer/deep_property.py#L62

Added line #L62 was not covered by tests

Check warning on line 133 in deepmd/infer/deep_property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/infer/deep_property.py#L133

Added line #L133 was not covered by tests

Check warning on line 187 in deepmd/pt/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/infer/deep_eval.py#L186-L187

Added lines #L186 - L187 were not covered by tests

Check warning on line 50 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L44-L50

Added lines #L44 - L50 were not covered by tests

Check warning on line 79 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L75-L79

Added lines #L75 - L79 were not covered by tests

Check warning on line 81 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L81

Added line #L81 was not covered by tests

Check warning on line 84 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L84

Added line #L84 was not covered by tests

Check warning on line 90 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 97 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L96-L97

Added lines #L96 - L97 were not covered by tests

Check warning on line 103 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 109 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L108-L109

Added lines #L108 - L109 were not covered by tests

Check warning on line 117 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L117

Added line #L117 was not covered by tests

Check warning on line 121 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L120-L121

Added lines #L120 - L121 were not covered by tests

Check warning on line 128 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L127-L128

Added lines #L127 - L128 were not covered by tests

Check warning on line 134 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L133-L134

Added lines #L133 - L134 were not covered by tests

Check warning on line 140 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L139-L140

Added lines #L139 - L140 were not covered by tests

Check warning on line 148 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L148

Added line #L148 was not covered by tests

Check warning on line 154 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L153-L154

Added lines #L153 - L154 were not covered by tests

Check warning on line 163 in deepmd/pt/loss/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/property.py#L163

Added line #L163 was not covered by tests

Check warning on line 86 in deepmd/pt/model/model/dp_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/model/dp_model.py#L86

Added line #L86 was not covered by tests

Check warning on line 157 in deepmd/pt/model/task/property.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/property.py#L157

Added line #L157 was not covered by tests

Check warning on line 304 in deepmd/pt/train/training.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/train/training.py#L301-L304

Added lines #L301 - L304 were not covered by tests