ydshieh
commited on
Commit
·
99c1534
1
Parent(s):
10c0ce9
fix
Browse files
run_image_captioning_flax.py
CHANGED
@@ -1250,7 +1250,7 @@ def main():
|
|
1250 |
json.dump(generations, fp, ensure_ascii=False, indent=4)
|
1251 |
|
1252 |
def evaluate(rng, dataset):
|
1253 |
-
evaluation_loop(rng, dataset, split='
|
1254 |
|
1255 |
def predict(rng, dataset):
|
1256 |
evaluation_loop(rng, dataset, split='test')
|
|
|
1250 |
json.dump(generations, fp, ensure_ascii=False, indent=4)
|
1251 |
|
1252 |
def evaluate(rng, dataset):
|
1253 |
+
evaluation_loop(rng, dataset, split='valid')
|
1254 |
|
1255 |
def predict(rng, dataset):
|
1256 |
evaluation_loop(rng, dataset, split='test')
|