Skip to content

Commit

Permalink
[Fix] Fix the bug that uses wrong dataloader while evaluating.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyaofo committed Nov 30, 2021
1 parent 81e70a9 commit 9014bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codebase/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def excute_pipeline(
metric_store += evaluate_one_epoch(
epoch=0,
model=model,
loader=train_loader,
loader=val_loader,
criterion=criterion,
optimizer=optimizer,
scheduler=scheduler,
Expand Down

0 comments on commit 9014bb4

Please sign in to comment.