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

Upgrade timm #89

Merged
merged 31 commits into from
Jan 11, 2024
Merged

Upgrade timm #89

merged 31 commits into from
Jan 11, 2024

Conversation

lorenzomammana
Copy link
Contributor

@lorenzomammana lorenzomammana commented Jan 8, 2024

Summary

This PR aims to upgrade the outdated timm version with the most recent one -> 0.9.12

It contains also some fixes for half precision related model export and some inclusion of new output files for both sklearn based tasks and anomaly detection.

The changelog is the following

Added

  • Add new backbones for classification
  • Add parameter to save a model summary for sklearn based classification tasks
  • Add results csv file for anomaly detection task
  • Add a way to freeze backbone layers by index for the finetuning task

Updated

  • Update timm requirements to 0.9.12

Fixed

  • Fix ModelSignatureWrapper not returing the correct instance when cpu, to and half functions are called
  • Fix failure in model logging on mlflow whe half precision is used

Type of Change

  • New feature (non-breaking change that adds functionality)

Checklist

Please confirm that the following tasks have been completed:

  • I have tested my changes locally and they work as expected. (Please describe the tests you performed.)
  • I have added unit tests for my changes, or updated existing tests if necessary.
  • I have updated the documentation, if applicable.
  • I have installed pre-commit and run locally for my code changes.

lorenzomammana and others added 23 commits January 2, 2024 10:22
* feat: Save csv file with test results in anomaly train task

* fix: Filter samples to remove ones from .ipynb_checkpoint hidden dirs

* fix: Change anomaly results column names using snake_case
@lorenzomammana lorenzomammana marked this pull request as ready for review January 8, 2024 16:50
@lorenzomammana lorenzomammana added the enhancement New feature or request label Jan 9, 2024
Copy link
Collaborator

@rcmalli rcmalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me it is okay after comments are resolved.

@AlessandroPolidori AlessandroPolidori merged commit a1fd7d8 into main Jan 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants