Catalog PyPI
Back to packageRELEASE DETAILS

0.3.0

PyPI

ABD-model

YOLO-based model for atom and bond detection in molecular images.

Published13 Apr 2025
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 0.3.0 documentation

ABD-model: Atom and Bond Detection Model

This repository contains a deep learning-based model designed for detecting atoms and bonds in molecular images. It can be used for various applications in molecular chemistry and image analysis.

Overview

The ABD-model is a YOLO-based deep learning model designed to detect atoms (e.g., C, O, H, N) and bond types (single, double, triple) in molecular structure images. The model can extract useful data from 2D molecular representations, aiding in further computational chemistry analysis.

Features

  • Atom Detection: Detects atoms like Carbon (C), Oxygen (O), Nitrogen (N), and Hydrogen (H) in molecular images.
  • Bond Detection: Identifies single, double, and triple bonds between atoms.
  • Versatility: Works with a wide variety of molecular structure images.
  • YOLO-based: Uses a YOLO (You Only Look Once) model for fast and accurate detection of atoms and bonds.
  • Open-source: Easy to integrate into your own projects and customize.

Requirements

To run this model, you need to install the following dependencies:

  • Python 3.x
  • PyTorch
  • OpenCV (for image processing)
  • NumPy
  • Any other libraries listed in requirements.txt

To install the dependencies, run:

pip install -r requirements.txt

Installation

  1. Clone this repository:

    git clone https://github.com/Safi-ullah-majid/ABD-model.git
    cd ABD-model
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Download the model file ABD.pt and place it in the correct directory.

Usage

To make predictions using the model, run the predict.py script:

python predict.py --input_path path/to/image.png

Ensure that:

  • The input image is in .png format.
  • The model (ABD.pt) is loaded correctly.
  • The input image is a valid .png file representing a molecular structure.

License

This repository is licensed under the MIT License - see the LICENSE file for details.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
torch
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
torchruntime
opencv-python
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
opencv-pythonruntime
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
numpyruntime
matplotlib
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
matplotlibruntime

Distribution files

2 collected
ABD_model-0.3.0-py3-none-any.whl

bdist_wheel · 6,159.1 KB · Python py3

Source file
abd_model-0.3.0.tar.gz

sdist · 6,159.44 KB · Python source

Source file

Repository

PENDING
safi-ullah-majid/abd-model

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:e8ee9ad81bf8f476bc2eb745f15fb777f3a1723a0dbd523fcb01423c251085f2

Other collected versions

View all collected versions →