from local

This commit is contained in:
dohe0342 2023-01-25 17:23:03 +09:00
parent fbb80af5ec
commit 39dd2687b4
2 changed files with 0 additions and 1 deletions

View File

@ -1026,7 +1026,6 @@ def train_one_epoch(
if batch_idx % params.accum_grads == 0: params.batch_idx_train += 1
batch_size = len(batch["supervisions"]["text"])
print(batch_size)
try:
with torch.cuda.amp.autocast(enabled=params.use_fp16):