AndreasHund commited on
Commit
194a8db
·
verified ·
1 Parent(s): 5f9a8a4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -2
README.md CHANGED
@@ -8,6 +8,20 @@ metrics:
8
  - mean_iou
9
  base_model:
10
  - nvidia/segformer-b1-finetuned-ade-512-512
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  ## Usage
@@ -17,7 +31,7 @@ import torch, torch.nn.functional as F
17
  from PIL import Image
18
  import numpy as np
19
 
20
- repo = "GlobalWheat/GWFSS_model_v1.0"
21
  processor = AutoImageProcessor.from_pretrained(repo)
22
  model = SegformerForSemanticSegmentation.from_pretrained(repo).eval()
23
 
@@ -29,4 +43,9 @@ with torch.no_grad():
29
  pred = up.argmax(1)[0].cpu().numpy() # (H, W) class IDs
30
  ```
31
 
32
- This version is based on huggingface Segformer which could be slightly different from the one we used for our paper. The paper version was implemented based on the mmsegmentation. You can find the model weight for mmsegmentation library in this repo as well.
 
 
 
 
 
 
8
  - mean_iou
9
  base_model:
10
  - nvidia/segformer-b1-finetuned-ade-512-512
11
+
12
+ tags:
13
+ - scientific
14
+ - research
15
+ citation: |
16
+ @article{author2023title,
17
+ title={Title of the Paper},
18
+ author={Author, A.},
19
+ journal={Journal Name},
20
+ year={2023},
21
+ url={https://doi.org/10.1234/example}
22
+ }
23
+ source: https://doi.org/10.1234/example
24
+
25
  ---
26
 
27
  ## Usage
 
31
  from PIL import Image
32
  import numpy as np
33
 
34
+ repo = "GlobalWheat/GWFSS_model_v1.1"
35
  processor = AutoImageProcessor.from_pretrained(repo)
36
  model = SegformerForSemanticSegmentation.from_pretrained(repo).eval()
37
 
 
43
  pred = up.argmax(1)[0].cpu().numpy() # (H, W) class IDs
44
  ```
45
 
46
+ This version is based on huggingface Segformer which could be slightly different from the one we used for our paper. The paper version was implemented based on the mmsegmentation. You can find the model weight for mmsegmentation library in this repo as well.
47
+
48
+ ## Related Paper
49
+ This dataset is associated with the following paper:
50
+ The Global Wheat Full Semantic Organ Segmentation (GWFSS) Dataset
51
+ https://doi.org/10.1016/j.plaphe.2025.100084