You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ python train_mnist.py [flags]
25
25
***--noise**: float representing the background noise. Must be between 0.0 and 1.0, inclusive. Default 0.3
26
26
***--name**: string representing the name of the model. Used for saving models and corresponding plots. Default `mnist_model`
27
27
***--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
29
29
30
30
31
31
### train_coco.py
@@ -39,8 +39,8 @@ python train_coco.py [flags]
39
39
***--n**: number of objects. Default 2
40
40
***--strength**: float representing the strength of attention. Must be between 0.0 and 1.0, inclusive. Default 0.9
41
41
***--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
44
44
45
45
## Evaluation Code
46
46
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]
64
64
***--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`
65
65
***--device**: cuda device, if one exists. Default 3
66
66
***--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
68
68
***--modelpath**: path to the model to evaluate, a .pt file. Default `saved/models/coco_model.pt`
0 commit comments