Skip to content

Commit

Permalink
Refactor and add parquet format (#30)
Browse files Browse the repository at this point in the history
* WIP

* Add documentation

* Finish refactoring

* Fix some env things

* Add parquet export/import

* Update version and changelog
  • Loading branch information
tadejsv authored Dec 2, 2022
1 parent 2f18c7c commit a60fe17
Show file tree
Hide file tree
Showing 18 changed files with 614 additions and 819 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: env.yaml
extra-specs: python=3.9
- name: Lint
run: make lint

Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.3.0] - 2022-12-02

### Added

* Support for reading/writing to parquet formats ([#30](https://github.com/tadejsv/EvalDeT/pull/30))

### Changed

* Changed internal representation of attributes to use a single numpy array instead of per-frame dict ([#30](https://github.com/tadejsv/EvalDeT/pull/30))

## [0.2.1] - 2022-10-11

Expand Down
1 change: 1 addition & 0 deletions env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ dependencies:
- sphinx-autodoc-typehints=1.19.4
- pip:
- freezegun==1.2.2
- pyarrow==10.0.1
8 changes: 0 additions & 8 deletions kek/dets.csv

This file was deleted.

2 changes: 0 additions & 2 deletions kek/labels.txt

This file was deleted.

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ authors = [
{ name = "Tadej", email = "[email protected]" },
]
readme = "README.md"
requires-python = ">=3.8"
keywords = ["evaluation", "tracking", "object detection", "computer vision"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
Expand All @@ -21,8 +22,9 @@ classifiers = [
"Topic :: Scientific/Engineering :: Image Recognition",
]
dependencies = [
"numpy~=1.23.2",
"scipy~=1.9.0",
"numpy~=1.23",
"scipy~=1.9",
"pyarrow~=10.0"
]
dynamic = ["version"]

Expand Down
2 changes: 1 addition & 1 deletion src/evaldet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.2.1"
__version__ = "0.3.0"

from .metrics import MOTMetrics # noqa: F401
from .tracks import Tracks # noqa: F401
Loading

0 comments on commit a60fe17

Please sign in to comment.