🐦 Quickly annotate data from the comfort of your Jupyter notebook

Related tags

Deep Learning pigeon
Overview

🐦 pigeon - Quickly annotate data on Jupyter

Pigeon is a simple widget that lets you quickly annotate a dataset of unlabeled examples from the comfort of your Jupyter notebook.

Pigeon currently supports annotation for classification tasks (set of labels), regression tasks (int/float range), or captioning tasks (variable-length text). Anything that can be displayed on Jupyter (text, images, audio, graphs, etc.) can be displayed by pigeon by providing the appropriate display_fn argument.

Installation

pip install pigeon-jupyter

Examples

  • Text classification

Code:

from pigeon import annotate
annotations = annotate(
  ['I love this movie', 'I was really disappointed by the book'],
  options=['positive', 'negative']
)

Preview:

http://i.imgur.com/00ry4Li.gif

  • Image classification

Code:

from pigeon import annotate
from IPython.display import display, Image

annotations = annotate(
  ['assets/img_example1.jpg', 'assets/img_example2.jpg'],
  options=['cat', 'dog', 'horse'],
  display_fn=lambda filename: display(Image(filename))
)

Preview:

http://i.imgur.com/PiE3eDt.gif

You might also like...
This is a simple framework to make object detection dataset very quickly
This is a simple framework to make object detection dataset very quickly

FastAnnotation Table of contents General info Requirements Setup General info This is a simple framework to make object detection dataset very quickly

📚 A collection of Jupyter notebooks for learning and experimenting with OpenVINO 👓
📚 A collection of Jupyter notebooks for learning and experimenting with OpenVINO 👓

A collection of ready-to-run Python* notebooks for learning and experimenting with OpenVINO developer tools. The notebooks are meant to provide an introduction to OpenVINO basics and teach developers how to leverage our APIs for optimized deep learning inference in their applications.

Jupyter notebooks for the code samples of the book "Deep Learning with Python"

Jupyter notebooks for the code samples of the book "Deep Learning with Python"

Library extending Jupyter notebooks to integrate with Apache TinkerPop and RDF SPARQL.
Library extending Jupyter notebooks to integrate with Apache TinkerPop and RDF SPARQL.

Graph Notebook: easily query and visualize graphs The graph notebook provides an easy way to interact with graph databases using Jupyter notebooks. Us

Applicator Kit for Modo allow you to apply Apple ARKit Face Tracking data from your iPhone or iPad to your characters in Modo.

Applicator Kit for Modo Applicator Kit for Modo allow you to apply Apple ARKit Face Tracking data from your iPhone or iPad with a TrueDepth camera to

Automatically download the cwru data set, and then divide it into training data set and test data set

Automatically download the cwru data set, and then divide it into training data set and test data set.自动下载cwru数据集,然后分训练数据集和测试数据集

Checkout some cool self-projects you can try your hands on to curb your boredom this December!

SoC-Winter Checkout some cool self-projects you can try your hands on to curb your boredom this December! These are short projects that you can do you

Ever felt tired after preprocessing the dataset, and not wanting to write any code further to train your model? Ever encountered a situation where you wanted to record the hyperparameters of the trained model and able to retrieve it afterward? Models Playground is here to help you do that. Models playground allows you to train your models right from the browser. Gesture-controlled Video Game. Just swing your finger and play the game without touching your PC
Gesture-controlled Video Game. Just swing your finger and play the game without touching your PC

Gesture Controlled Video Game Detailed Blog : https://www.analyticsvidhya.com/blog/2021/06/gesture-controlled-video-game/ Introduction This project is

Comments
  • "No module named "pigeon" Module error after successfully installing in Mac M1 environment

    Is there an known interoperability issue with MacM1, Jupyter notebooks and Pigeon? I have successfully installed it as you can see below but I get a module import error on my Jupyter notebook.

    
    Package            Version
    ------------------ ----------
    appnope            0.1.3
    asttokens          2.2.0
    backcall           0.2.0
    blis               0.7.9
    catalogue          2.0.8
    certifi            2022.9.24
    charset-normalizer 2.1.1
    click              8.1.3
    confection         0.0.3
    cymem              2.0.7
    debugpy            1.6.4
    decorator          5.1.1
    en-core-web-sm     3.4.1
    en-core-web-trf    3.4.1
    entrypoints        0.4
    executing          1.2.0
    filelock           3.8.0
    huggingface-hub    0.11.0
    idna               3.4
    ipykernel          6.17.1
    ipython            8.7.0
    ipywidgets         8.0.2
    jedi               0.18.2
    Jinja2             3.1.2
    jupyter_client     7.4.7
    jupyter_core       5.1.0
    jupyterlab-widgets 3.0.3
    langcodes          3.3.0
    MarkupSafe         2.1.1
    matplotlib-inline  0.1.6
    murmurhash         1.0.9
    nest-asyncio       1.5.6
    numpy              1.23.4
    packaging          21.3
    pandas             1.5.1
    parso              0.8.3
    pathy              0.10.0
    pexpect            4.8.0
    pickleshare        0.7.5
    pigeon-jupyter     0.1.0
    pip                22.3.1
    platformdirs       2.5.4
    preshed            3.0.8
    prompt-toolkit     3.0.33
    psutil             5.9.4
    ptyprocess         0.7.0
    pure-eval          0.2.2
    pydantic           1.10.2
    Pygments           2.13.0
    pyparsing          3.0.9
    python-dateutil    2.8.2
    pytz               2022.6
    PyYAML             6.0
    pyzmq              24.0.1
    regex              2022.10.31
    requests           2.28.1
    semantic-version   2.10.0
    setuptools         65.6.3
    setuptools-rust    1.5.2
    six                1.16.0
    smart-open         5.2.1
    spacy              3.4.3
    spacy-alignments   0.8.6
    spacy-legacy       3.0.10
    spacy-loggers      1.0.3
    spacy-transformers 1.1.8
    srsly              2.4.5
    stack-data         0.6.2
    thinc              8.1.5
    tokenizers         0.12.1
    torch              1.13.0
    tornado            6.2
    tqdm               4.64.1
    traitlets          5.6.0
    transformers       4.21.3
    typer              0.7.0
    typing_extensions  4.4.0
    urllib3            1.26.13
    wasabi             0.10.1
    wcwidth            0.2.5
    wheel              0.37.1
    widgetsnbextension 4.0.3
    
    opened by ja4h3ad 0
  • Customize when dropdown instead of buttons are displayed (solution for Issue #8)

    Customize when dropdown instead of buttons are displayed (solution for Issue #8)

    Solution for Issue https://github.com/agermanidis/pigeon/issues/8 to allow users to set when dropdown is displayed instead of buttons. Useful for users with large amount of classes quickly select a class

    image

    opened by cyschneck 0
  • No buttons are showing after running programs

    No buttons are showing after running programs

    After running the code as you have displayed in the readme, it opens up just a single question and nothing happens after that??? No buttons nothing. It is not even opening a second image. What could be the problem?

    opened by deshwalmahesh 2
Owner
Anastasis Germanidis
🎭
Anastasis Germanidis
A Jupyter notebook to play with NVIDIA's StyleGAN3 and OpenAI's CLIP for a text-based guided image generation.

A Jupyter notebook to play with NVIDIA's StyleGAN3 and OpenAI's CLIP for a text-based guided image generation.

Eugenio Herrera 175 Dec 29, 2022
Annotate with anyone, anywhere.

h h is the web app that serves most of the https://hypothes.is/ website, including the web annotations API at https://hypothes.is/api/. The Hypothesis

Hypothesis 2.6k Jan 8, 2023
Annotate datasets with a semi-trained or fully trained YOLOv5 model

YOLOv5 Auto Annotator Annotate datasets with a semi-trained or fully trained YOLOv5 model Prerequisites Ubuntu >=20.04 Python >=3.7 System dependencie

Akash James 3 May 14, 2022
A colab notebook for training Stylegan2-ada on colab, transfer learning onto your own dataset.

Stylegan2-Ada-Google-Colab-Starter-Notebook A no thrills colab notebook for training Stylegan2-ada on colab. transfer learning onto your own dataset h

Harnick Khera 66 Dec 16, 2022
Quickly comparing your image classification models with the state-of-the-art models (such as DenseNet, ResNet, ...)

Image Classification Project Killer in PyTorch This repo is designed for those who want to start their experiments two days before the deadline and ki

null 349 Dec 8, 2022
fastgradio is a python library to quickly build and share gradio interfaces of your trained fastai models.

fastgradio is a python library to quickly build and share gradio interfaces of your trained fastai models.

Ali Abdalla 34 Jan 5, 2023
This repository contains notebook implementations of the following Neural Process variants: Conditional Neural Processes (CNPs), Neural Processes (NPs), Attentive Neural Processes (ANPs).

The Neural Process Family This repository contains notebook implementations of the following Neural Process variants: Conditional Neural Processes (CN

DeepMind 892 Dec 28, 2022
Quickly and easily create / train a custom DeepDream model

Dream-Creator This project aims to simplify the process of creating a custom DeepDream model by using pretrained GoogleNet models and custom image dat

null 55 Dec 27, 2022
Time-stretch audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.

Time-stretch audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.

Kento Nishi 22 Jul 7, 2022
A customisable game where you have to quickly click on black tiles in order of appearance while avoiding clicking on white squares.

W.I.P-Aim-Memory-Game A customisable game where you have to quickly click on black tiles in order of appearance while avoiding clicking on white squar

dE_soot 1 Dec 8, 2021