Spaces:
Running on Zero
Running on Zero
Commit ·
ad236df
1
Parent(s): d7b90f6
repair_cls
Browse files- app.py +2 -1
- prompts/basic_prompts.json +4 -4
app.py
CHANGED
|
@@ -108,7 +108,8 @@ CLS_MODEL_PATHS = OrderedDict({
|
|
| 108 |
#"15shot_aug": f"{MODELS_ROOT_DIR}/Classification/resnet50_hela_15_shot_aug_re",
|
| 109 |
#"20shot_aug": f"{MODELS_ROOT_DIR}/Classification/resnet50_hela_20_shot_aug_re",
|
| 110 |
})
|
| 111 |
-
CLS_CLASS_NAMES = ['dap', 'erdak', 'giant', 'gpp130', 'h4b4', 'mc151', 'nucle', 'phal', 'tfr', 'tubul']
|
|
|
|
| 112 |
CLS_EXAMPLE_IMG_DIR = "example_images_cls"
|
| 113 |
|
| 114 |
|
|
|
|
| 108 |
#"15shot_aug": f"{MODELS_ROOT_DIR}/Classification/resnet50_hela_15_shot_aug_re",
|
| 109 |
#"20shot_aug": f"{MODELS_ROOT_DIR}/Classification/resnet50_hela_20_shot_aug_re",
|
| 110 |
})
|
| 111 |
+
#CLS_CLASS_NAMES = ['dap', 'erdak', 'giant', 'gpp130', 'h4b4', 'mc151', 'nucle', 'phal', 'tfr', 'tubul']
|
| 112 |
+
CLS_CLASS_NAMES = ['Nucleus', 'Endoplasmic Reticulum', 'Giantin', 'GPP130', 'Lysosomes', 'Mitochondria', 'Nucleolus', 'Actin', 'Endosomes', 'Microtubules']
|
| 113 |
CLS_EXAMPLE_IMG_DIR = "example_images_cls"
|
| 114 |
|
| 115 |
|
prompts/basic_prompts.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
| 1 |
[
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"21MT1",
|
| 3 |
"AGP of U2OS",
|
| 4 |
"AU565",
|
| 5 |
"Actin of HUVEC",
|
| 6 |
"Actin of MCF-7",
|
| 7 |
-
"CCPs of COS-7",
|
| 8 |
"DNA of U2OS",
|
| 9 |
"E.coli",
|
| 10 |
-
"ER of COS-7",
|
| 11 |
"ER of U2OS",
|
| 12 |
"F-actin and plasma membrane of U2OS",
|
| 13 |
"F-actin of BPAE",
|
| 14 |
-
"F-actin of COS-7",
|
| 15 |
"GFP of Y6545",
|
| 16 |
"GFP-tubulin or E-cadherin of caco2",
|
| 17 |
"GOWT1 of mouse stem cells",
|
| 18 |
"Golgi and Actin of U2OS",
|
| 19 |
"H-NS-mScarlet-I of E.coli",
|
| 20 |
"H2B-mCherry of Y6545",
|
| 21 |
-
"Microtubules of COS-7",
|
| 22 |
"Microtubules of HUVEC",
|
| 23 |
"Mitochondria of U2OS",
|
| 24 |
"MreB of E.coli",
|
|
|
|
| 1 |
[
|
| 2 |
+
"CCPs of COS-7",
|
| 3 |
+
"ER of COS-7",
|
| 4 |
+
"Microtubules of COS-7",
|
| 5 |
+
"F-actin of COS-7",
|
| 6 |
"21MT1",
|
| 7 |
"AGP of U2OS",
|
| 8 |
"AU565",
|
| 9 |
"Actin of HUVEC",
|
| 10 |
"Actin of MCF-7",
|
|
|
|
| 11 |
"DNA of U2OS",
|
| 12 |
"E.coli",
|
|
|
|
| 13 |
"ER of U2OS",
|
| 14 |
"F-actin and plasma membrane of U2OS",
|
| 15 |
"F-actin of BPAE",
|
|
|
|
| 16 |
"GFP of Y6545",
|
| 17 |
"GFP-tubulin or E-cadherin of caco2",
|
| 18 |
"GOWT1 of mouse stem cells",
|
| 19 |
"Golgi and Actin of U2OS",
|
| 20 |
"H-NS-mScarlet-I of E.coli",
|
| 21 |
"H2B-mCherry of Y6545",
|
|
|
|
| 22 |
"Microtubules of HUVEC",
|
| 23 |
"Mitochondria of U2OS",
|
| 24 |
"MreB of E.coli",
|