Skip to content

nitid 0.9.5

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:57
· 6 commits to main since this release
a5edc0e

nitid's public models now carry the project's name: use nitid1n, nitid1s,
nitid1m, nitid1l and nitid1x, for example
NITID("nitid1s", task="detect") or NITID("nitid1s", task="segment"). Code
written for earlier releases keeps working: the old model1* names resolve to
the new ones and emit a DeprecationWarning that names the replacement. This
release also adds nitid.__version__, and the tooling that publishes releases
from now on.

Changed

  • Public model names are now nitid1n, nitid1s, nitid1m, nitid1l and
    nitid1x (see ADR-0004). NITID.nitid_model, the CLI help, the docs and the
    benchmark tooling use the new names.

Added

  • tools/check_roadmap.py checks that every issue link in docs/roadmap.md
    exists and that "Near-term priorities" only links to open issues.
  • nitid.__version__ is now available (it was only exposed as
    dfine.__version__). A unit test keeps it equal to the version in
    pyproject.toml (#24).
  • spaces/demo/ holds the source of an interactive Gradio demo (detection and
    instance segmentation on CPU), with unit and integration tests (#7). It is not
    published yet.
  • d-fine-n/s/m/l/x (and dfine_*) are accepted as technical aliases for the
    current model generation. nitid1-s and any letter case are also accepted.
  • dfine.nitid.is_public_model_name decides which names are routed through the
    public-name resolver.
  • Tagging a version now creates the GitHub Release automatically after the PyPI
    upload: notes come from the matching CHANGELOG.md section, the wheel and
    sdist are attached, and a/b/rc/dev tags are marked as pre-releases
    (#3). scripts/changelog_notes.py previews the notes.

Deprecated

  • The model1n/s/m/l/x names remain accepted and resolve to nitid1*;
    NITID("model1s") now emits a DeprecationWarning naming the canonical
    replacement. They will be removed in a later minor release.

Install: pip install nitid==0.9.5

Full changelog: https://github.com/Nitidio/nitid/blob/v0.9.5/CHANGELOG.md