Graph Neural Network Library Built On Top Of PyTorch and PyTorch Geometric
Project description
IMGRAPH
Used for converting image to graph, uses superpixel method for node creation, extract features from CNN models.
Example Usage:
from imgraph.pipeline import create_graph_pipleline
path = "path/to/image"
create_graph_pipleline(path, 'classification', 'rag', 'resnet18', 10)
Above code will create a graph from the image and save it in the directory .~/cache/imgraph or directory specified by the user in enviornment variable IMGRAPH_HOME.
The graph will be saved in the PyG Data format or pickle format.
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
imgraph-0.0.7.tar.gz
(68.3 kB
view details)
Built Distribution
imgraph-0.0.7-py3-none-any.whl
(27.2 kB
view details)
File details
Details for the file imgraph-0.0.7.tar.gz
.
File metadata
- Download URL: imgraph-0.0.7.tar.gz
- Upload date:
- Size: 68.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bad91570757c3905bb0657878666ca0f2ba6612a2e615b94c0d5b5f05106440 |
|
MD5 | c40f248468979349d43528b36022a52c |
|
BLAKE2b-256 | 216803fe03d81c593d7af9bd73f5f0912dd182affdb481e1eca94dc43ccf6344 |
File details
Details for the file imgraph-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: imgraph-0.0.7-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f67b293b7fa3f28900d4edfb084126c5ca141808a51a0a5c0ec1750f28ae8c2 |
|
MD5 | 163ddd180b992d5035173b0bafb03e17 |
|
BLAKE2b-256 | 0b99fa389ae5d4bf9b9749a39b95661f8eb99bc235abfb34059146578f548ac2 |