Commit db4ce346 authored by Yaoyao Liu's avatar Yaoyao Liu
Browse files

Update meta_trainer.py

parent ae4e779a
......@@ -352,7 +352,6 @@ class MetaTrainer(object):
vl=0
va=0
else:
with torch.no_grad():
tqdm_gen = tqdm.tqdm(val_loader)
for i, batch in enumerate(tqdm_gen, 1):
if torch.cuda.is_available():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment