From d3f911947acc3cb6ba051341e1bd2df4c1567043 Mon Sep 17 00:00:00 2001 From: Francesco Paissan <46992226+fpaissan@users.noreply.github.com> Date: Thu, 12 Oct 2023 12:29:18 +0200 Subject: [PATCH] Version 0.1.1 (#44) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Extended unit tests to classifier and fixed pooling (#17) * Extended unit tests to classifier and fixed pooling * Changed trigger of doctest workflow * Fixing issue #18 * fixed linters * Add pre-commit hooks * Doctest only on PRs * Fixed network conversion from GPU Also tested on Windows machine. * Create python_versions.yml * Update and rename python_versions.yml to tests.yml * Update export.yaml * CI fix (#21) * Create pre-commit.yaml * remove code.yaml * fixing pre-commit * Doctest with pytest * change trigger * change trigger * Delete LICENSE * checkpoint from filesystem (#20) * checkpoint from filesystem * fixed deps * Update README.md * Update LICENSE * Updating LICENSE --------- Co-authored-by: fpaissan Co-authored-by: Francesco Paissan <46992226+fpaissan@users.noreply.github.com> * Create LICENSE (#22) * Update README.md (#23) * new min python version to 3.8 * 🐛 extra_requirements now have a version - fixed CI (#24) * 🐛 extra_requirements now have a version * fixed linter errors * testing actions * fixed linter * removing tf_probability * fixed tf prob version --------- Co-authored-by: fpaissan * Documentation upgrade - guide for contribution (#25) * add contribution guide to docs * documentation with contribution guide * cosmetic * bump version 0.0.4 -> 0.0.5 * Bump requests from 2.28.2 to 2.31.0 (#27) Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix pypi release * Update README.md (#29) * Patch for faster GPU inference (#35) * Patch for faster GPU inference * remove unused zeropad def --------- Co-authored-by: fpaissan * initial commit * add eval loop * add acceleration * modules as dict * add checkpointer * minor * load best checkpoint * restore epoch, optimizer, lr sched * fix logging on multi-gpu * minor fixes * working on single gpu * fix checkpointer + multi-gpu * fp16 might not be ok yet * load_modules and unwrap_model * fixed convert and export * cosmetic on export * add argparse * add metrics -- check something is off with acc * its print strange * fixed checkpointer viz * fix checkpointers and metrics * cosmetic * linters * add credits * fix requirements * fix unittest * remove recipes * remove unused files * remove unused fuctions from networks * fix tests * hot fix * onnx conversion without convert * fix requirements * add default class config and temp folder for debug mode * add doc for class Metric * finish doc MicroMind * update docs * linters fix * new initial page * bump version 0.0.5 -> 0.1.0 * final touches and bumpver * Create .readthedocs.yaml (#42) * Create .readthedocs.yaml * Create requirements.txt * Update .readthedocs.yaml * Update README.md (#43) * Update README.md * Update index.rst * Update README.md * Update index.rst * bump version 0.1.0 -> 0.1.1 --------- Signed-off-by: dependabot[bot] Co-authored-by: Matteo Beltrami <71525176+matteobeltrami@users.noreply.github.com> Co-authored-by: SebastianCavada Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matteo Tremonti <102596472+Tremo8@users.noreply.github.com> Co-authored-by: Matteo Beltrami --- .readthedocs.yaml | 22 ++++++++++++++++++++++ README.md | 4 ++-- docs/requirements.txt | 2 ++ docs/source/index.rst | 3 ++- micromind/__init__.py | 3 ++- pyproject.toml | 3 ++- 6 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 .readthedocs.yaml create mode 100644 docs/requirements.txt diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..303f2a3 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/source/conf.py + +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: docs/requirements.txt diff --git a/README.md b/README.md index fd39001..091316e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Python version: 3.8 | 3.9 | 3.10](https://img.shields.io/badge/python-3.9%20|%203.10-blue)](https://www.python.org/downloads/) +[![Python version: 3.8 | 3.9 | 3.10](https://img.shields.io/badge/python-3.8%20|3.9%20|%203.10-blue)](https://www.python.org/downloads/) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/fpaissan/micromind/blob/main/LICENSE) -![PyPI version](https://img.shields.io/pypi/v/micromind) +[![PyPI version](https://img.shields.io/pypi/v/micromind)](https://pypi.org/project/micromind/) This is the official repo of `micromind`, a toolkit that aims at bridging two communities: artificial intelligence and embedded systems. `micromind` is based on [PyTorch](https://pytorch.org) and provides exportability for the supported models in ONNX, Intel OpenVINO, and TFLite. diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..8213302 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx +sphinx_rtd_theme diff --git a/docs/source/index.rst b/docs/source/index.rst index 742fcc8..22c506a 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -6,13 +6,14 @@ Welcome to micromind's documentation! ===================================== -.. image:: https://img.shields.io/badge/python-3.9%20|%203.10-blue +.. image:: https://img.shields.io/badge/python-3.8%20|3.9%20|%203.10-blue :target: https://www.python.org/downloads/ .. image:: https://img.shields.io/badge/License-Apache_2.0-blue.svg :target: https://github.com/fpaissan/micromind/blob/main/LICENSE .. image:: https://img.shields.io/pypi/v/micromind + :target: https://pypi.org/project/micromind/ This is the official repository of `micromind`, a toolkit that aims to bridge two communities: artificial intelligence and embedded systems. `micromind` is based on `PyTorch `_ and provides exportability for the supported models in ONNX, Intel OpenVINO, and TFLite. diff --git a/micromind/__init__.py b/micromind/__init__.py index 7ec91f3..efdf2a8 100644 --- a/micromind/__init__.py +++ b/micromind/__init__.py @@ -1,7 +1,8 @@ from .core import MicroMind, Metric, Stage # Package version -__version__ = "0.1.0" +__version__ = "0.1.1" + """datasets_info is a dictionary that contains information about the attributes of the datasets. diff --git a/pyproject.toml b/pyproject.toml index b72ae4c..10b2b50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,8 @@ profile = "black" py-modules = [] [tool.bumpver] -current_version = "0.1.0" +current_version = "0.1.1" + version_pattern = "MAJOR.MINOR.PATCH" commit_message = "bump version {old_version} -> {new_version}" commit = true