IrisML tasks to use timm library
Project description
irisml-tasks-timm
Timm-related tasks for IrisML pipeline.
Please visit IrisML repository for the details.
Installation
pip install irisml-tasks-timm
Tasks
create_timm_model
Create a timm model. Please use timm.list_models() method to find available model names.
class Config:
name: str
num_classes: int
pretrained: bool = False
task_type: typing.Literal['multiclass_classification', 'multilabel_classification'] = 'multiclass_classification'
create_timm_transform
Create a timm transform. The task output contains train_transform and val_transform.
class Config:
input_size: int
crop_pct: float = 0.875 # Center crop the image with this ratio.
interpolation: typing.Literal['bilinear', 'bicubic'] = 'bilinear'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file irisml-tasks-timm-0.0.1.tar.gz
.
File metadata
- Download URL: irisml-tasks-timm-0.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e57f42fbf606626bbebb1273e56000aaa241fd996329c10c1a2baa8357e4ca |
|
MD5 | d4489fa6e6df1dc64c12747822f103e7 |
|
BLAKE2b-256 | bd286ed0f8344b798886db52ffefd368e961bd80df074e3039b2348d608d97cf |
File details
Details for the file irisml_tasks_timm-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: irisml_tasks_timm-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0da0e5a54adbdf498489a209f6fb058b766c3a4f8df55b0967b3ce712b1f1861 |
|
MD5 | 8fb7784486783a9a537dda6151c082f7 |
|
BLAKE2b-256 | 12e435972d2ce937c31f1990905b353fb3d403f7e6b25f6bc466cce04fcfe049 |