-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from orobix/feature/upgrade-timm
Upgrade timm
- Loading branch information
Showing
32 changed files
with
405 additions
and
63 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
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.3.8" | ||
version = "1.4.0" | ||
description = "Deep Learning experiment orchestration library" | ||
authors = [ | ||
{ name = "Alessandro Polidori", email = "[email protected]" }, | ||
|
@@ -64,10 +64,12 @@ dependencies = [ | |
"scikit-multilearn==0.2.*", | ||
"tripy==1.0.*", | ||
"h5py==3.8.*", | ||
"timm==0.6.12", # required by smp | ||
"segmentation-models-pytorch==0.3.2", | ||
"anomalib@git+https://github.com/orobix/[email protected]+obx.1.2.7", | ||
"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", | ||
"xxhash==3.2.*", | ||
"torchinfo==1.8.*", | ||
] | ||
|
||
[project.optional-dependencies] | ||
|
@@ -121,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.3.8" | ||
current_version = "1.4.0" | ||
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.3.8" | ||
__version__ = "1.4.0" | ||
|
||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: caformer_m36.sail_in22k_ft_in1k | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 576 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: caformer_s36.sail_in22k_ft_in1k | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 512 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: convnextv2_base.fcmae | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 1024 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: convnextv2_femto.fcmae | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 384 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: convnextv2_tiny.fcmae | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 768 |
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 @@ | ||
model: | ||
_target_: quadra.models.classification.TorchHubNetworkBuilder | ||
repo_or_dir: facebookresearch/dinov2 | ||
model_name: dinov2_vitb14 | ||
pretrained: true | ||
freeze: false | ||
hyperspherical: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 768 | ||
patch_size: 14 | ||
nb_heads: 12 |
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 @@ | ||
model: | ||
_target_: quadra.models.classification.TorchHubNetworkBuilder | ||
repo_or_dir: facebookresearch/dinov2 | ||
model_name: dinov2_vits14 | ||
pretrained: true | ||
freeze: false | ||
hyperspherical: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 384 | ||
patch_size: 14 | ||
nb_heads: 6 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: tf_efficientnet_b0.ns_jft_in1k | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 1280 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: tf_efficientnet_b1.ns_jft_in1k | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 1280 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: tf_efficientnet_b2.ns_jft_in1k | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 260 | ||
output_dim: 1408 |
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,8 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: tf_efficientnet_b3.ns_jft_in1k | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 300 | ||
output_dim: 1536 |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
model: | ||
_target_: quadra.models.classification.TimmNetworkBuilder | ||
model_name: tiny_vit_21m_224.dist_in22k_ft_in1k | ||
pretrained: true | ||
freeze: false | ||
metadata: | ||
input_size: 224 | ||
output_dim: 576 | ||
num_heads: 18 # Is it correct? |
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
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
Oops, something went wrong.