projects
/
culture.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[culture.git]
/
main.py
diff --git
a/main.py
b/main.py
index
c763016
..
305bd3c
100755
(executable)
--- a/
main.py
+++ b/
main.py
@@
-133,6
+133,11
@@
parser.add_argument("--expr_result_max", type=int, default=99)
parser.add_argument("--expr_input_file", type=str, default=None)
parser.add_argument("--expr_input_file", type=str, default=None)
+##############################
+# World options
+
+parser.add_argument("--world_vqae_nb_epochs", type=int, default=25)
+
######################################################################
args = parser.parse_args()
######################################################################
args = parser.parse_args()
@@
-182,9
+187,9
@@
default_args = {
"nb_test_samples": 10000,
},
"world": {
"nb_test_samples": 10000,
},
"world": {
- "nb_epochs":
5
,
+ "nb_epochs":
10
,
"batch_size": 25,
"batch_size": 25,
- "nb_train_samples": 1
0
000,
+ "nb_train_samples": 1
25
000,
"nb_test_samples": 1000,
},
}
"nb_test_samples": 1000,
},
}
@@
-328,6
+333,8
@@
elif args.task == "world":
nb_train_samples=args.nb_train_samples,
nb_test_samples=args.nb_test_samples,
batch_size=args.batch_size,
nb_train_samples=args.nb_train_samples,
nb_test_samples=args.nb_test_samples,
batch_size=args.batch_size,
+ vqae_nb_epochs=args.world_vqae_nb_epochs,
+ logger=log_string,
device=device,
)
device=device,
)