{"id":19134001,"url":"https://github.com/um-arm-lab/arm_segmentation","last_synced_at":"2026-02-28T10:02:17.900Z","repository":{"id":180206966,"uuid":"655433829","full_name":"UM-ARM-Lab/arm_segmentation","owner":"UM-ARM-Lab","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-20T22:30:45.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-07T15:13:35.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UM-ARM-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-18T21:56:06.000Z","updated_at":"2023-07-12T06:32:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2024483-67fe-43c1-850d-1c16ec7a7c62","html_url":"https://github.com/UM-ARM-Lab/arm_segmentation","commit_stats":null,"previous_names":["um-arm-lab/arm_segmentation"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/UM-ARM-Lab/arm_segmentation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UM-ARM-Lab%2Farm_segmentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UM-ARM-Lab%2Farm_segmentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UM-ARM-Lab%2Farm_segmentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UM-ARM-Lab%2Farm_segmentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UM-ARM-Lab","download_url":"https://codeload.github.com/UM-ARM-Lab/arm_segmentation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UM-ARM-Lab%2Farm_segmentation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29929587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T06:24:41.468Z","updated_at":"2026-02-28T10:02:17.855Z","avatar_url":"https://github.com/UM-ARM-Lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Python package](https://github.com/UM-ARM-Lab/arm_segmentation/actions/workflows/python-package.yml/badge.svg)](https://github.com/UM-ARM-Lab/arm_segmentation/actions/workflows/python-package.yml)\n[![Upload Python Package](https://github.com/UM-ARM-Lab/arm_segmentation/actions/workflows/python-publish.yml/badge.svg)](https://github.com/UM-ARM-Lab/arm_segmentation/actions/workflows/python-publish.yml)\n\nThis repository contains very simple training, inference, and visualization code for instance segmentation.\nThis 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\nand fast (compared to services like AWS)\n\n# Data\n\nThis repository assumes you have used RoboFlow to annotate your dataset.\nYou should export your dataset as a COCO style dataset, which stores annotations in JSON.\n\n# Installation \u0026 Setup\n\n## From Pip (recommended)\nYou can install via pip\n```\npip install arm_segmentation\n```\n\nTrain!\n```\npython -m arm_segmentation.train ~/path/to/datset.zip # can also be the extracted folder instead of zip\n```\n\n## From source\n\nOr you can clone the source code and install it that way.\n\n1. Clone this repository\n   ```\n   git clone git@github.com:UM-ARM-Lab/arm_segmentation.git\n   ```\n2. In an existing or new python virtual environment, install the dependencies\n    ```\n    pip install -r requirements.txt\n    ```\n3. Train\n    ```\n    # You may need export PYTHONPATH=./src, or you can try pip install -e .\n    ./scripts/train.py path_to_dataset\n    ./scripts/visualize_validation.py path_to_dataset\n   ```\n\n# Inference\n\n```\n    from arm_segmentation.predictor import Predictor\n    predictor = Predictor('path/to/model.pth')\n    # Assumes rgb_np is a [h, w, 3] numpy array. If you have a torch tensor, use `predict_torch` instead.\n    predictions = predictor.predict(rgb_np)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fum-arm-lab%2Farm_segmentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fum-arm-lab%2Farm_segmentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fum-arm-lab%2Farm_segmentation/lists"}