Dimasnoufal commited on
Commit
754fe13
·
verified ·
1 Parent(s): 3c7f824

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -9
README.md CHANGED
@@ -1,20 +1,19 @@
1
- <h1>Jellyfish Classifier</h1>
2
  finetuned from PyTorch ResNet18
3
 
4
- <h2>Jellyfish Label</h2>
5
- 0: Compass Jellyfish<br>
6
- 1: Blue Jellyfish<br>
7
- 2: Mauve Stinger Jellyfish<br>
8
- 3: Moon Jellyfish<br>
9
- 4: Barrel Jellyfish<br>
10
- 5: Lions Mane Jellyfish<br>
11
 
12
  <h2>How to Use:</h2>
13
  <pre><code class="python">
14
  import torchvision
15
  from torchvision.models import resnet18
16
  model = resnet18(weights=None)
17
- model_weights_path = 'resnet18_jellyfish_classification.pth'
18
  model.load_state_dict(torch.load(model_weights_path))
19
  model.eval()
20
  </pre>
 
1
+ <h1>Flower Classifier</h1>
2
  finetuned from PyTorch ResNet18
3
 
4
+ <h2>Flower Label</h2>
5
+ 0: Lotus<br>
6
+ 1: Orchid<br>
7
+ 2: Tulip<br>
8
+ 3: Sunflower<br>
9
+ 4: Lilly<br>
 
10
 
11
  <h2>How to Use:</h2>
12
  <pre><code class="python">
13
  import torchvision
14
  from torchvision.models import resnet18
15
  model = resnet18(weights=None)
16
+ model_weights_path = 'resnet18_flower_classification.pth'
17
  model.load_state_dict(torch.load(model_weights_path))
18
  model.eval()
19
  </pre>