NRTK EXPLORER
NRTK Explorer is a web application for exploring image datasets. It provides insights of a image dataset in COCO format and it evaluate image transformation and perturbation resilience of object recognition DL models. It is built using trame by the kitware team.
Features
- Explore image datasets in COCO format.
- Apply parametrized image degradation (such as blur) to the images.
- Benchmark dataset resilience with a differential PCA|UMAP analysis on the embeddings of the images and their transformations.
- Evaluate object detection DL models in both the source images and its transformations.
- When possible it will attempt to utilize the user GPU as much as possible to speedup its computations.
Installing
Install it from pypi:
pip install nrtk-explorer
Usage
Explore Hugging Face hosted dataset:
nrtk-explorer --dataset rafaelpadilla/coco2017
Compare inference results for Hugging Face hosted models:
nrtk-explorer --dataset cppe-5 --models qubvel-hf/detr-resnet-50-finetuned-10k-cppe5 ashaduzzaman/detr_finetuned_cppe5
2 COCO format datasets are available at: https://github.com/vicentebolea/nrtk_explorer_datasets/
git clone https://github.com/vicentebolea/nrtk_explorer_datasets.git
nrtk-explorer --dataset ./nrtk_explorer_datasets/coco-od-2017/mini_val2017.json ./nrtk_explorer_datasets/OIRDS_v1_0/oirds.json
CLI flags and options
--datasetspecify the path to a COCO dataset JSON file, a Hugging Face dataset repository name, or a directory loadable by the Dataset library. You can specify multiple datasets using a space as the separator. Example:nrtk-explorer --dataset ../foo-dir/coco.json cppe-5--repositorySpecify an existing directory where exported datasets will be saved to and loaded from.--downloadCache Hugging Face Hub datasets locally instead of streaming them. When datasets are streamed, nrtk-explorer limits the number of loaded images.--modelsspecify the Hugging Face Hub object detection repository name or a directory loadable by the Transformers library. Load multiple models using space as the separator.
Example:nrtk-explorer --models hustvl/yolos-tiny facebook/detr-resnet-50-h|--helpshow the help for the command line options. nrtk-explorer inherits the trame command line options and flags.
Contribute to NRTK_EXPLORER
git clone https://github.com/Kitware/nrtk-explorer.git
cd nrtk-explorer
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e '.[dev]'
pytest .
For more details on setting up a development environment see DEVELOPMENT docs.
Create release
- Merge
maintoreleasewith a merge commit. - Run "Create Release" workflow with workflow from
releasebranch. - Merge
releasetomainwith a merge commit. - Check package versions in Conda Feedstock meta.yaml file
Metadata
Release files for nrtk-explorer 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nrtk_explorer-0.10.0.tar.gz | 4.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nrtk_explorer-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 MB
Release files / nrtk_explorer-0.10.0.tar.gz
| Download URL | nrtk_explorer-0.10.0.tar.gz |
|---|---|
| Size | 4.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
306dd14c104d288a1f730f52a95b099a4cf2f36ff726a11d321c1034cad5ef35
|
|
BLAKE2b-256 checksum How to use checksums |
8c581146dcd32f5a26232f4bea6d745b08c81d705d26c6aad685f4dacdbb288f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / nrtk_explorer-0.10.0-py3-none-any.whl
| Download URL | nrtk_explorer-0.10.0-py3-none-any.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6166b7ac86977e357547ad208489058bd5c1e724357abf23fb50f69f4f7f37d3
|
|
BLAKE2b-256 checksum How to use checksums |
7ef40bf4972383b62fd9204a5b99cf2e59b290548f6f93f1444c26a889efa216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|