XXII-AI / Lours

🐻 Lours, the pandas companion
https://lours.readthedocs.io
MIT License
16 stars 1 forks source link
dataset object-detection pandas-dataframe

Lours, the pandas companion

📚 Docs 📊 Slides 📝 Blogpost (coming soon)

codecov GitHub License PyPI - Python Version PyPI - Version PyPI - Downloads Read the Docs

logo lours

DOC API

Sphinx docs is available here:

Installation

pip install lours

You can also install the pre-release by adding the --pre option

pip install lours --pre

From source

pip install -e . # Only for pip > 21.3

Assuming both lours and your project are in the same folder, adapt the relative path of the repo if needed

poetry add --editable ../lours/
poetry add --editable https://github.com/XXII-AI/lours.git

The dataset object

See https://UPDATE-ME

Usage

from lours.dataset import from_caipy, from_coco
dataset1 = from_caipy("path/to/caipy")
print(dataset1)
dataset2 = from_coco("path/to/coco", images_root="/path/to/coco_images")
dataset2 = dataset2.remap_from_preset("coco", "pascalvoc")
print(dataset2)

Tutorials

See some notebooks in folder docs/notebooks

Alternatively, See https://lours.readthedocs.io/stable/tutorials.html