Skip to main content

Deep Learning Tools for Pytorch

Project description

Deep Learning Tools for Pytorch

Python >= 3.8

A package that contains tools for deep learning model. We add the registry class which can make developer use the registry method to manage their models or functions conveniently.

In other side, we will provide our work in classification task for developer, which can use the model directly.

Installation

pip install dlts

Example for using

from typing import Callable

from dlts import Registry

# Example usage
registry = Registry(registry_name="example_registry", base_type=Callable)

@registry.register("example_function")
def example_function(x: int) -> int:
    return x * 2

print(registry.get("example_function")(5))  # Output: 10
print(registry.keys())  # Output: dict_keys(['example_function'])

Papers

BibTex

@article{sheng2024lightweight,
  title={A lightweight hybrid model with location-preserving ViT for efficient food recognition},
  author={Sheng, Guorui and Min, Weiqing and Zhu, Xiangyi and Xu, Liang and Sun, Qingshuo and Yang, Yancun and Wang, Lili and Jiang, Shuqiang},
  journal={Nutrients},
  volume={16},
  number={2},
  pages={200},
  year={2024},
  publisher={MDPI}
}

Update

  • 0.0.2 - We add the EHFR-Net model in the tools.
  • 0.0.1 - It is an official version.
  • 0.0.1alpha2 - It is a test version.

Future Plans

  • Add some models which are used in the food classification.
  • Add more tools for deep learning model management.

License

mDeep Learning Tools for Pytorch is MIT licensed. See the LICENSE for details.

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

dlts-0.0.2.post3.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dlts-0.0.2.post3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file dlts-0.0.2.post3.tar.gz.

File metadata

  • Download URL: dlts-0.0.2.post3.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for dlts-0.0.2.post3.tar.gz
Algorithm Hash digest
SHA256 40e9d1ac266958bd31a6cab6899d77720ec204acb25da28b0ea30ebf9295a920
MD5 917acb677e6c6dfa1778866ffc23cfa1
BLAKE2b-256 2d674a20d420ff9a39737c59299987c8f1153f5337140c0b9aa4f1eff3c8d624

See more details on using hashes here.

File details

Details for the file dlts-0.0.2.post3-py3-none-any.whl.

File metadata

  • Download URL: dlts-0.0.2.post3-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for dlts-0.0.2.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 498c233580f4624cdd6da4b68d995c6aed129fa2ff1daabb465e463c41e61002
MD5 67433abd1f9f07b026e26d4a4b879674
BLAKE2b-256 5e2049b526159a322c29df10f8f1536015941ecb26846172dd3e1cb3e8a6f8b4

See more details on using hashes here.

Supported by

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