We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 707995a commit 21cf2abCopy full SHA for 21cf2ab
t5x/eval.py
@@ -30,6 +30,7 @@
30
os.environ['FLAX_LAZY_RNG'] = 'no'
31
from absl import logging
32
from clu import metric_writers
33
+import gin
34
import jax
35
import seqio
36
from t5x import checkpoints
@@ -61,6 +62,7 @@ def __call__(
61
62
...
63
64
65
+# @gin.configurable
66
class InferenceEvaluator:
67
"""Runs evaluation of the model against a given SeqIo task."""
68
@@ -402,7 +404,6 @@ def _maybe_run_train_eval(train_state: train_state_lib.TrainState):
402
404
from absl import app
403
405
from absl import flags
406
import fiddle as fdl
- import gin
407
from t5x import config_utils
408
409
FLAGS = flags.FLAGS
0 commit comments