Skip to content

Commit 82ba1cb

Browse files
authored
Update README.md
1 parent 0a204cb commit 82ba1cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ python train_mnist.py [flags]
2525
* **--noise**: float representing the background noise. Must be between 0.0 and 1.0, inclusive. Default 0.3
2626
* **--name**: string representing the name of the model. Used for saving models and corresponding plots. Default `mnist_model`
2727
* **--epochs**: the number of epochs to run the model. Default 30
28-
* **--randomseed**: set the manual seed. Default 2021
28+
* **--randomseed**: set the manual seed. Default 100
2929

3030

3131
### train_coco.py
@@ -39,8 +39,8 @@ python train_coco.py [flags]
3939
* **--n**: number of objects. Default 2
4040
* **--strength**: float representing the strength of attention. Must be between 0.0 and 1.0, inclusive. Default 0.9
4141
* **--name**: string representing the name of the model. Used for saving models and corresponding plots. Default `coco_model`
42-
* **--epochs**: the number of epochs to run the model. Default 60
43-
* **--randomseed**: set the manual seed. Default 2021
42+
* **--epochs**: the number of epochs to run the model. Default 100
43+
* **--randomseed**: set the manual seed. Default 100
4444

4545
## Evaluation Code
4646
The code to test the MNIST and COCO models are in `test_mnist.py` and `test_coco.py` respectively. Below are the parameters to run each.
@@ -64,7 +64,7 @@ python test_coco.py [flags]
6464
* **--metadata**: REQUIRED path to COCO metadata file. If this file does not exist, the script will automatically create it in the specified location. Default `data/metadata/cocometadata_test.p`
6565
* **--device**: cuda device, if one exists. Default 3
6666
* **--n**: number of objects. Default 2
67-
* **--strength**: float representing the strength of attention. Must be between 0.0 and 1.0, inclusive. Default 0.9
67+
* **--strength**: float representing the strength of attention. Must be between 0.0 and 1.0, inclusive. Default 0.3
6868
* **--modelpath**: path to the model to evaluate, a .pt file. Default `saved/models/coco_model.pt`
6969

7070
## Pre-trained Modules

0 commit comments

Comments
 (0)