Training and inference of instance segmentation
Project description
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.
- Clone this repository
git clone git@github.com:UM-ARM-Lab/arm_segmentation.git
- In an existing or new python virtual environment, install the dependencies
pip install -r requirements.txt
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa61fcd91a98dc2ca5c7637ca4918b5ff97e8969add19f123b97a28c4d45ffe0 |
|
MD5 | 56e56c27c4927a9f8b1d552cf1196b61 |
|
BLAKE2b-256 | e7f2f5658967844570bc5c074f0e2c17b49f4982e53fe265bdf3a6214bf1633a |
File details
Details for the file arm_segmentation-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: arm_segmentation-0.0.8-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6153b4e125086e4a800acb57951a39ca19380b3678000671a5c0a0a9558aaa79 |
|
MD5 | 0a8c7c09505fdea037affea0a2397233 |
|
BLAKE2b-256 | 22683d1d868cd52fad3e8261f015a27993ef41fa3454cf73a3aa2c2e0d51b677 |