File size: 1,986 Bytes
d2d7b69 f1830b6 d2d7b69 4181548 d2d7b69 39f157d 36b0b55 39f157d 16fe353 39f157d 36b0b55 39f157d 1faf562 39f157d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
---
license: agpl-3.0
language:
- en
metrics:
- mae
- mse
- accuracy
tags:
- biology
- plant
- vitis
- downey mildew
- Plasmopara viticola
- OIV 452-1
base_model: microsoft/swin-tiny-patch4-window7-224
---
# OIV Leaf Disc Phenotyping
Companion repository for the article
"Phenotyping grapevine resistance to downy mildew: deep learning as a promising tool to assess sporulation and necrosis" found [Here](https://link.springer.com/article/10.1186/s13007-024-01220-4?utm_source=rct_congratemailt&utm_medium=email&utm_campaign=oa_20240613&utm_content=10.1186/s13007-024-01220-4)
## Folder Structure
### checkpoints
Contains checkpoint files for leaf disc detector and OIV 452-1 scorer.
### data
Contains all datasets data in CSV format
#### Leaf Disc Detection Files
- ldd_train.csv, ldd_val.csv and ldd_test.csv contain bounding box annotations in Pascal VOC format
- train_ld_bounding_boxes.csv contains predictions for all available plates.
#### OIV 452-1 Predictions
- oiv_train.csv, oiv_val.csv and oiv_test.csv contain OIV 452-1 annotated scores.
#### Genotype Differenciation
- genotype_differenciation_dataset.csv contains annotated scores and predictions for leaf patches used in to validate model on genptype differenciation.
### images
![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64ec50e26a38b6958677f2a5/UXQUTZg2So8JtySi5ckH0.jpeg)
Contains all images in three different folders:
- plates contains full plate images.
- leaf_discs contains full leaf discs. Output folder for predicted leaf discs.
- leaf_patches contains extracted patches. Output folder for predicted leaf patches.
### src
Contains source code under two formats:
- *.py files contain base functionality and classes
- *.ipynb files contain code to reproduce the article data
## Notebooks
![image/png](https://cdn-uploads.huggingface.co/production/uploads/64ec50e26a38b6958677f2a5/24Vagy7kIX5Yx_jGQkLYL.png)
### repo_manager.ipynb
Utility notebook to create this repository |