Skip to main content

Graph-based image segmentation

Project description

Graph Segment Algorithms for Graph Neural Network-based Tracking

Installation

pip install .

Test

Download the data python3 download_data.py. And then ./build/bin/walk_through data/debug_graph.dot.

Developer Guide

The following commands are for Perlmutter. For other systems, please adjust the commands accordingly.

podman-hpc pull docker.io/docexoty/mltools:20250227

Or you can build the image from the Dockerfile in this repository.

Then run the following command to start the container, and build the code:

podman-hpc run -it --rm --gpu -v $PWD:$PWD -w $PWD docexoty/mltools:20250227 bash
cmake -B build -S . -Dpybind11_DIR=/usr/local/lib/python3.10/dist-packages/pybind11/share/cmake/pybind11 -DCMAKE_BUILD_TYPE=DEBUG
cmake --build build

Packing and Uploading

python3 -m build --sdist
python3 -m build --wheel
twine upload dist/*

Note

The code was improved by OpenAI o1Pro model. The execution time was reduced from 403 ms to 190 ms.

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

graph_segment-0.0.1.tar.gz (10.2 MB view details)

Uploaded Source

File details

Details for the file graph_segment-0.0.1.tar.gz.

File metadata

  • Download URL: graph_segment-0.0.1.tar.gz
  • Upload date:
  • Size: 10.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for graph_segment-0.0.1.tar.gz
Algorithm Hash digest
SHA256 af8ec4f892c7da56c5babd4b21895f1f53aab6249ef87af0a8be96a12cda636e
MD5 df984adc5d41652cc0f64325040cef03
BLAKE2b-256 d1ced57e7a18255343dfd627596ca2c5a0c060cb7f2f8a2b36f907274cf98251

See more details on using hashes here.

Supported by

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