-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use old timm pretrained weights for resnets
* add: Old weights for resnet18 and wideresnet in anomaly models' configs * build: Bump version 1.4.0 -> 1.4.1 * docs: Update changelog * docs: Fix changelog * add: Update weights in generic anomaly experiments * add: breaking_changes file * fix: Better text in breaking changes file * docs: Specify torchvision weights also in docs
- Loading branch information
1 parent
a1fd7d8
commit 7b6c9b8
Showing
11 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Breaking Changes | ||
All the breaking changes will be documented in this file. | ||
|
||
### [1.4.0] | ||
|
||
#### Changed | ||
|
||
- In Quadra 1.4.0, we upgraded timm to version 0.9.12, resulting in potential variations in default weights for timm backbones compared to previous versions. To continue utilizing the previous weights for resnet18 and wide_resnet50, which are the default backbones for quadra anomaly and classification fine-tuning tasks, we have introduced ".tv_in1k" to the model_name inside Quadra configuration files. | ||
|
||
Although the timm upgrade might have very likely adjusted default weights also for other backbones, we have reinstated the old weights only for these two (some internal tests showed better performance of old weights, especially for classification fine-tuning). | ||
|
||
If you are updating quadra to a version >= 1.4.0 and you want to keep consistent results, it is recommended to verify whether your timm's backbone is sill using the same weights. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "quadra" | ||
version = "1.4.0" | ||
version = "1.4.1" | ||
description = "Deep Learning experiment orchestration library" | ||
authors = [ | ||
{ name = "Alessandro Polidori", email = "[email protected]" }, | ||
|
@@ -67,7 +67,7 @@ dependencies = [ | |
"timm==0.9.12", | ||
# Currently the only version of smp supporting timm 0.9.12 is the following | ||
"segmentation-models-pytorch@git+https://github.com/qubvel/segmentation_models.pytorch@7b381f899ed472a477a89d381689caf535b5d0a6", | ||
"anomalib@git+https://github.com/orobix/[email protected]+obx.1.2.9", | ||
"anomalib@git+https://github.com/orobix/[email protected]+obx.1.2.10", | ||
"xxhash==3.2.*", | ||
"torchinfo==1.8.*", | ||
] | ||
|
@@ -123,7 +123,7 @@ repository = "https://github.com/orobix/quadra" | |
|
||
# Adapted from https://realpython.com/pypi-publish-python-package/#version-your-package | ||
[tool.bumpver] | ||
current_version = "1.4.0" | ||
current_version = "1.4.1" | ||
version_pattern = "MAJOR.MINOR.PATCH" | ||
commit_message = "build: Bump version {old_version} -> {new_version}" | ||
commit = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "1.4.0" | ||
__version__ = "1.4.1" | ||
|
||
|
||
def get_version(): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters