When I run
training_loop = train_model(model, train_task, [eval_task], 100, output_dir_expand)
I get list’ object has no attribute ‘metric_names’
Here is what I have for, am I missing something. Thanks for your inputs.
training_loop = training.Loop(
model, # The learning model
tasks=train_task, # The training task
eval_tasks=[eval_task], # The evaluation task
output_dir=output_dir_expand, # The output directory
random_seed=31 # Do not modify this random seed in order to ensure reproducibility and for grading purposes.
)