Skip to main content

🚀 GRAVITY NET

GravityNet is a novel one-stage end-to-end detector specifically designed to detect small lesions in medical images.

GravityNet framework is available on GitHub


📥 INSTALLATION

Install the package running:

pip install gravitynet

Import the package as:

import gravitynet

📁 PACKAGE ORGANIZATION

GravityNet is structured into three main modules:

🔧 gravity_points_config

Generates the configuration of gravity points.

gravity_points, num_gravity_points, num_gravity_points_feature_map = gravity_points_config(config,
                                                                                           image_shape)

PARAMETERS
config: type of configuration:
grid: grid-base configuration for gravity-points (e.g., grid-10)
dice: dice-base configuration for gravity-points (e.g., dice-1)

image_shape: the shape of the image (H x W)

RETURNS
gravity_points: configuration of the gravity points on the image
num_gravity_points: number of gravity points generated
num_gravity_points_feature_map: number of gravity points generated per feature map

🌐 GravityNet

Define the GravityNet model.

net = GravityNet(backbone,
                 pretrained,
                 num_gravity_points_feature_map)

PARAMETERS
backbone: backbone model (e.g., ResNet)
pretrained: pretrained option
num_gravity_points_feature_map: number of gravity points generated per feature map

RETURNS
net: GravityNet model

📉 GravityLoss

Define the GravityLoss function used for training.

criterion = GravityLoss(config,
                        hook,
                        num_gravity_points_feature_map,
                        device)

PARAMETERS
config: type of configuration (e.g., grid-10)
hook: hooking distance (e.g., 10)
num_gravity_points_feature_map: number of gravity points generated per feature map
device: device (e.g., cuda)

RETURNS
criterion: GravityLoss criterion

Release files for gravitynet 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gravitynet 0.0.11
File Size Uploaded
gravitynet-0.0.11.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gravitynet 0.0.11
File Interpreter ABI Platform
gravitynet-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 55.5 kB

Release files / gravitynet-0.0.11.tar.gz

Download URL gravitynet-0.0.11.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3f8d893bad880f54b7e69c8316f517a5873fb0196b76a2c913c3fb41b158c34b
BLAKE2b-256 checksum
How to use checksums
35bd809011be266bc8018fb31f80541b841a649a41bc8c62907456285ca61116
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.7

Release files / gravitynet-0.0.11-py3-none-any.whl

Download URL gravitynet-0.0.11-py3-none-any.whl
Size 38.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ac7fc87f5107c599374d013a794f32d0ca38c43b7dd7e6aa8e726eb63b3fc93
BLAKE2b-256 checksum
How to use checksums
c71b0368c83f9cec21e50503241d62bd74a84b88a2c54ffb1e22ceaf4be94524
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page