Safi029 commited on
Commit
3e279a4
·
verified ·
1 Parent(s): 199e522

Upload 2 files

Browse files
Files changed (2) hide show
  1. ABD.pt +3 -0
  2. README.md +63 -3
ABD.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3335b0cc6c504c4ac74b62bf2bc9aa06ecf402fa71184ec88f40a1f37979859
3
+ size 6943523
README.md CHANGED
@@ -1,3 +1,63 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # ABD-model: Atom and Bond Detection Model
3
+
4
+ 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.
5
+
6
+ ## Overview
7
+ 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.
8
+
9
+ ## Features
10
+ - **Atom Detection**: Detects atoms like Carbon (C), Oxygen (O), Nitrogen (N), and Hydrogen (H) in molecular images.
11
+ - **Bond Detection**: Identifies single, double, and triple bonds between atoms.
12
+ - **Versatility**: Works with a wide variety of molecular structure images.
13
+ - **YOLO-based**: Uses a YOLO (You Only Look Once) model for fast and accurate detection of atoms and bonds.
14
+ - **Open-source**: Easy to integrate into your own projects and customize.
15
+
16
+ ## Requirements
17
+ To run this model, you need to install the following dependencies:
18
+
19
+ - Python 3.x
20
+ - PyTorch
21
+ - OpenCV (for image processing)
22
+ - NumPy
23
+ - Any other libraries listed in `requirements.txt`
24
+
25
+ To install the dependencies, run:
26
+
27
+ ```bash
28
+ pip install -r requirements.txt
29
+ ```
30
+
31
+ ## Installation
32
+
33
+ 1. Clone this repository:
34
+
35
+ ```bash
36
+ git clone https://github.com/Safi-ullah-majid/ABD-model.git
37
+ cd ABD-model
38
+ ```
39
+
40
+ 2. Install dependencies:
41
+
42
+ ```bash
43
+ pip install -r requirements.txt
44
+ ```
45
+
46
+ 3. Download the model file `ABD.pt` and place it in the correct directory.
47
+
48
+ ## Usage
49
+
50
+ To make predictions using the model, run the `predict.py` script:
51
+
52
+ ```bash
53
+ python predict.py --input_path path/to/image.png
54
+ ```
55
+
56
+ Ensure that:
57
+ - The input image is in `.png` format.
58
+ - The model (`ABD.pt`) is loaded correctly.
59
+ - The input image is a valid `.png` file representing a molecular structure.
60
+
61
+ ## License
62
+
63
+ This repository is licensed under the MIT License - see the `LICENSE` file for details.