Dreamy0 commited on
Commit
f39a6b8
·
verified ·
1 Parent(s): 38b4fe8

Upload 5 files

Browse files
Files changed (5) hide show
  1. README.md +17 -3
  2. config.json +10 -0
  3. label_map.json +5 -0
  4. preprocessor_config.json +6 -0
  5. pytorch_model.bin +3 -0
README.md CHANGED
@@ -1,3 +1,17 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Instance Segmentation Model
2
+
3
+ ## Description
4
+ This model performs instance segmentation using Mask R-CNN. It was trained on a custom dataset containing [X] images with [Y] classes.
5
+
6
+ ## Training Data
7
+ - Dataset: [Germination Images]
8
+ - Number of Images: [22]
9
+ - Number of Classes: [2]
10
+
11
+ ## Usage
12
+ Load the model using:
13
+ ```python
14
+ from transformers import AutoModelForObjectDetection, AutoFeatureExtractor
15
+
16
+ model = AutoModelForObjectDetection.from_pretrained("Dreamy0/GermiNet-instance-segmentation")
17
+ feature_extractor = AutoFeatureExtractor.from_pretrained("Dreamy0/GermiNet-instance-segmentation")
config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "detectron2",
3
+ "architectures": ["MaskRCNN"],
4
+ "num_classes": 3,
5
+ "input_size": [800, 1333],
6
+ "pretrained": false,
7
+ "max_iter": 1000,
8
+ "batch_size": 2,
9
+ "learning_rate": 0.00025
10
+ }
label_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "0": "background",
3
+ "1": "Normal",
4
+ "2": "Abnormal"
5
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "image_mean": [0.485, 0.456, 0.406],
3
+ "image_std": [0.229, 0.224, 0.225],
4
+ "size_divisibility": 32,
5
+ "input_format": "RGB"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a96cfaadd43cdcdedbe6ce78c75c8c0962496b3aabb3d5b65895b20f4ea31d
3
+ size 351017764