Skip to content

Commit

Permalink
Fixed version tag issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mantasu committed Jul 8, 2023
1 parent 58aed0e commit 3ce29d2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Python](https://img.shields.io/badge/python-3.10%20|%203.11-yellow)](https://docs.python.org/3/)
[![CUDA: yes](https://img.shields.io/badge/cuda-yes-green)](https://developer.nvidia.com/cuda-toolkit)
[![Docs: passing](https://img.shields.io/badge/docs-passing-skyblue)](https://mantasu.github.io/glasses-detector/)
[![DOI](https://zenodo.org/badge/TODO.svg)](https://zenodo.org/badge/latestdoi/TODO)
[![DOI](https://zenodo.org/badge/610509640.svg)](https://zenodo.org/badge/latestdoi/610509640)
[![License: MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)

**Eyeglasses** and **sunglasses** _classifier_ + **glasses** and their **frames** _segmenter_. This project provides scripts to download the corresponding datasets, train the corresponding models and by itself is a PyPi project that provides a quick way to use the trained models via python script or terminal.
Expand Down Expand Up @@ -394,6 +394,6 @@ The following model architectures were used from [Torchvision](https://pytorch.o
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/mantasu/glasses-detector}},
doi = {TBA}
doi = {10.5281/zenodo.8126101}
}
```
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
project = 'Glasses Detector'
copyright = '2023, Mantas Birškus'
author = 'Mantas Birškus'
release = '0.1.0'
release = '0.1.1'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -37,8 +37,6 @@
"torchvision": ("https://pytorch.org/vision/stable/", None),
}

# intersphinx_disabled_reftypes = ["*"]

napoleon_use_param = True
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
Expand Down
2 changes: 1 addition & 1 deletion docs/content/citation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ To cite this work, please use:
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/mantasu/glasses-detector}},
doi = {TODO}
doi = {10.5281/zenodo.8126101}
}
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Python](https://img.shields.io/badge/python-3.10%20|%203.11-yellow)](https://docs.python.org/3/)
[![CUDA: yes](https://img.shields.io/badge/cuda-yes-green)](https://developer.nvidia.com/cuda-toolkit)
[![Docs: passing](https://img.shields.io/badge/docs-passing-skyblue)](https://mantasu.github.io/glasses-detector/)
[![DOI](https://zenodo.org/badge/TODO.svg)](https://zenodo.org/badge/latestdoi/TODO)
[![DOI](https://zenodo.org/badge/610509640.svg)](https://zenodo.org/badge/latestdoi/610509640)
[![License: MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT)
**Eyeglasses** and **sunglasses** _classifier_ + **glasses** and their **frames** _segmenter_. This project provides a quick way to use the pre-trained models via python script or terminal. Based on selected task, an image or a directory of images will be processed and corresponding labels or masks will be generated.
Expand Down Expand Up @@ -214,7 +214,7 @@

setuptools.setup(
name = "glasses-detector",
version = "0.1.0",
version = "0.1.1",
author = "Mantas Birškus",
author_email = "[email protected]",
license = "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/glasses_detector/bases/base_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class BaseClassifier(BaseModel, ImageLoaderMixin):

VERSION_MAP = {
"eyeglasses_classifier": None,
"sunglasses_classifier": "0.1.0"
"sunglasses_classifier": "v0.1.0"
}
"""
dict[str, str]: A dictionary mapping from the possible pretrained
Expand Down
2 changes: 1 addition & 1 deletion src/glasses_detector/bases/base_segmenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class BaseSegmenter(BaseModel, ImageLoaderMixin):
"""

VERSION_MAP = {
"full_glasses_segmenter": "0.1.0",
"full_glasses_segmenter": "v0.1.0",
"glass_frames_segmenter": None,
}
"""
Expand Down

0 comments on commit 3ce29d2

Please sign in to comment.