MHanzl commited on
Commit
b2e9b97
1 Parent(s): 15a76cf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -5
README.md CHANGED
@@ -11,7 +11,7 @@ license: cc-by-nc-4.0
11
  # Model card for BVRA/legacy_seresnext101_32x4d.in1k_ft_df20m_384
12
 
13
  ## Model Details
14
- - **Model Type:** legacy_seresnext101_32x4d.in1k
15
  - **Model Stats:**
16
  - Params (M): ??
17
  - Image size: 384 x 384
@@ -29,13 +29,33 @@ from PIL import Image
29
  from urllib.request import urlopen
30
  model = timm.create_model("hf-hub:BVRA/legacy_seresnext101_32x4d.in1k_ft_df20m_384", pretrained=True)
31
  model = model.eval()
32
- train_transforms = T.Compose([T.Resize(384),
33
  T.ToTensor(),
34
  T.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5])])
35
  img = Image.open(PATH_TO_YOUR_IMAGE)
36
  output = model(train_transforms(img).unsqueeze(0)) # output is (batch_size, num_features) shaped tensor
37
- # output is a (1, num_features) shaped tensor
38
  ```
39
 
40
- ## Citation
41
- https://openaccess.thecvf.com/content/WACV2022/papers/Picek_Danish_Fungi_2020_-_Not_Just_Another_Image_Recognition_Dataset_WACV_2022_paper.pdf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  # Model card for BVRA/legacy_seresnext101_32x4d.in1k_ft_df20m_384
12
 
13
  ## Model Details
14
+ - **Model Type:** Danish Fungi Classification
15
  - **Model Stats:**
16
  - Params (M): ??
17
  - Image size: 384 x 384
 
29
  from urllib.request import urlopen
30
  model = timm.create_model("hf-hub:BVRA/legacy_seresnext101_32x4d.in1k_ft_df20m_384", pretrained=True)
31
  model = model.eval()
32
+ train_transforms = T.Compose([T.Resize((384, 384)),
33
  T.ToTensor(),
34
  T.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5])])
35
  img = Image.open(PATH_TO_YOUR_IMAGE)
36
  output = model(train_transforms(img).unsqueeze(0)) # output is (batch_size, num_features) shaped tensor
 
37
  ```
38
 
39
+ ## Citation
40
+ ```bibtex
41
+ @InProceedings{Picek_2022_WACV,
42
+ author = {Picek, Luk'a {s} and {S}ulc, Milan and Matas, Ji {r}{'\i} and Jeppesen, Thomas S. and Heilmann-Clausen, Jacob and L{e}ss{\o}e, Thomas and Fr{\o}slev, Tobias},
43
+ title = {Danish Fungi 2020 - Not Just Another Image Recognition Dataset},
44
+ booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
45
+ month = {January},
46
+ year = {2022},
47
+ pages = {1525-1535}
48
+ }
49
+ ```
50
+ ```bibtex
51
+ @article{picek2022automatic,
52
+ title={Automatic Fungi Recognition: Deep Learning Meets Mycology},
53
+ author={Picek, Luk{'a}{ {s}} and { {S}}ulc, Milan and Matas, Ji{ {r}}{'\i} and Heilmann-Clausen, Jacob and Jeppesen, Thomas S and Lind, Emil},
54
+ journal={Sensors},
55
+ volume={22},
56
+ number={2},
57
+ pages={633},
58
+ year={2022},
59
+ publisher={Multidisciplinary Digital Publishing Institute}
60
+ }
61
+ ```