Skip to main content

Training and inference of instance segmentation

Project description

Python package Upload Python Package

This repository contains very simple training, inference, and visualization code for instance segmentation. This is a good choice for when you don't want to get into the details and just want a model that works well and is cheap and fast (compared to services like AWS)

Data

This repository assumes you have used RoboFlow to annotate your dataset. You should export your dataset as a COCO style dataset, which stores annotations in JSON.

Installation & Setup

You can install via pip

pip install arm_segmentation

Or you can clone the source code and install it that way.

  1. Clone this repository
    git clone git@github.com:UM-ARM-Lab/arm_segmentation.git
    
  2. In an existing or new python virtual environment, install the dependencies
    pip install -r requirements.txt
    
  3. Train
    # You may need export PYTHONPATH=./src, or you can try pip install -e .
    ./scripts/train.py path_to_dataset
    ./scripts/visualize_validation.py path_to_dataset
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arm_segmentation-0.0.8.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

arm_segmentation-0.0.8-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file arm_segmentation-0.0.8.tar.gz.

File metadata

  • Download URL: arm_segmentation-0.0.8.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for arm_segmentation-0.0.8.tar.gz
Algorithm Hash digest
SHA256 aa61fcd91a98dc2ca5c7637ca4918b5ff97e8969add19f123b97a28c4d45ffe0
MD5 56e56c27c4927a9f8b1d552cf1196b61
BLAKE2b-256 e7f2f5658967844570bc5c074f0e2c17b49f4982e53fe265bdf3a6214bf1633a

See more details on using hashes here.

File details

Details for the file arm_segmentation-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for arm_segmentation-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6153b4e125086e4a800acb57951a39ca19380b3678000671a5c0a0a9558aaa79
MD5 0a8c7c09505fdea037affea0a2397233
BLAKE2b-256 22683d1d868cd52fad3e8261f015a27993ef41fa3454cf73a3aa2c2e0d51b677

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page