geninhu commited on
Commit
cf23dd9
·
1 Parent(s): fa2151a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -18
README.md CHANGED
@@ -1,34 +1,32 @@
1
  ---
2
- library_name: keras
3
  ---
4
 
5
- ## Model description
6
 
7
- More information needed
8
 
9
- ## Intended uses & limitations
10
 
11
- More information needed
 
 
 
12
 
13
  ## Training and evaluation data
14
-
15
- More information needed
16
 
17
  ## Training procedure
18
-
19
- ### Training hyperparameters
20
-
21
  The following hyperparameters were used during training:
22
- - optimizer: {'name': 'Adam', 'learning_rate': 0.001, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
23
- - training_precision: float32
24
-
25
- ## Training Metrics
26
- Model history needed
27
- ## Model Plot
28
 
 
29
  <details>
30
  <summary>View Model Plot</summary>
31
-
32
  ![Model Image](./model.png)
33
-
34
  </details>
 
1
  ---
2
+ license: gpl-3.0
3
  ---
4
 
5
+ ## Model Description
6
 
7
+ ### Keras Implementation of Classification using Attention-based Deep Multiple Instance Learning (MIL)
8
 
9
+ This repo contains the trained model of Classification using Attention-based Deep Multiple Instance Learning (MIL).
10
 
11
+ Spaces Link:
12
+ Keras Example Link:- https://keras.io/examples/vision/attention_mil_classification/
13
+ ## Intended uses & limitations
14
+ - The trained model can be used to classify a bag of image instances (the bag of image instances can be generated from an original image) with the motivation of knowing which patterns in the original image is actually causing it to belong to that class.
15
 
16
  ## Training and evaluation data
17
+ - Original MNIST train & test dataset were loaded from tensorflow datasets and the images were randomly chosen to create different bags of instance with number of instances per bag is 3
18
+ - Number 8 is selected to be the Positive class (i.e. the bag that contains image of 8 belongs to Positive class and others are Negative class)
19
 
20
  ## Training procedure
21
+ ### Training hyperparameter
 
 
22
  The following hyperparameters were used during training:
23
+ - optimizer: 'adam'
24
+ - loss: 'sparse_categorical_crossentropy'
25
+ - epochs: 50
26
+ - batch_size: 8
 
 
27
 
28
+ ## Model Plot
29
  <details>
30
  <summary>View Model Plot</summary>
 
31
  ![Model Image](./model.png)
 
32
  </details>