Skip to content

Move loading file outside of try/except

a05751a
Select commit
Loading
Failed to load commit list.
Merged

Move encoders weights to HF-Hub #1035

Move loading file outside of try/except
a05751a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 16, 2025 in 1s

37.83% of diff hit (target 78.16%)

View this Pull Request on Codecov

37.83% of diff hit (target 78.16%)

Annotations

Check warning on line 110 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L109-L110

Added lines #L109 - L110 were not covered by tests

Check warning on line 118 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L116-L118

Added lines #L116 - L118 were not covered by tests

Check warning on line 126 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L123-L126

Added lines #L123 - L126 were not covered by tests

Check warning on line 131 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L129-L131

Added lines #L129 - L131 were not covered by tests

Check warning on line 137 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L135-L137

Added lines #L135 - L137 were not covered by tests

Check warning on line 139 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L139

Added line #L139 was not covered by tests

Check warning on line 142 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 145 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L145

Added line #L145 was not covered by tests

Check warning on line 184 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L183-L184

Added lines #L183 - L184 were not covered by tests

Check warning on line 188 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L188

Added line #L188 was not covered by tests

Check warning on line 190 in segmentation_models_pytorch/encoders/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

segmentation_models_pytorch/encoders/__init__.py#L190

Added line #L190 was not covered by tests