Skip to main content

CFM - model zoo

Project description

CFM-Task-Models

Popular CV models modified for various approaches of Compression for Machines (aka Coding for Machines)

Installation

The easiest way to install CFM-Task-Models is through PyPI, to do this simply use pip install cfm-task-models However, CFM-Task-Models has requirements that currently cannot be handled by pip, thus before using CFM-Task-Models for the first time please run miminstaller.py in your virutal environment. If using poetry consider: poetry run python -m cfm_task_models.split_utils.miminstaller

Requirements

CFM-Task-Models currently relies on several tools from OpenMMLab, which require custom installation using the openmim installer. Openmim is a tool provided by OpenMMLab which installs their libraries based on the user's pytorch and cuda versions.

See pyproject.toml for standard requirements and miminstaller.py for OpenMMLAB requirements

Usage

To test Swin_Transformer, run the following command from the root directory:

python models/Swin-Transformer/models/swin_transformer_v2.py

Semantic Segmentation

To download the config and pretrained weights for swin-tiny-upernet-ade20k, run the following command from the root directory:

mim download mmsegmentation --config swin-tiny-patch4-window7-in1k-pre_upernet_8xb2-160k_ade20k-512x512 --dest ./

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfm_task_models-0.0.12.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

cfm_task_models-0.0.12-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file cfm_task_models-0.0.12.tar.gz.

File metadata

  • Download URL: cfm_task_models-0.0.12.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.5 Linux/5.4.0-100-generic

File hashes

Hashes for cfm_task_models-0.0.12.tar.gz
Algorithm Hash digest
SHA256 09ff1d6930a0bb2a74f2586884b8b605a0a1c426047f59f38406e457a98b1b1a
MD5 cdd212f91ceeddfd0b262391ee59adac
BLAKE2b-256 38dc6263a7b98fba0c0cd7595894206d2bce903a7318a46f70ed0f5b888e0c36

See more details on using hashes here.

File details

Details for the file cfm_task_models-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: cfm_task_models-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.5 Linux/5.4.0-100-generic

File hashes

Hashes for cfm_task_models-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b7cd33a2b48559745e813304325616021fd0e0778223e8f99b87b68d6eded0d9
MD5 133b4a0c8519ad88995164ac3bd484cb
BLAKE2b-256 09f8957a49e779f13be4e948a64c056ec289ba683dcb6d2ebdc2b312dd03dcfd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page