Skip to content

Commit 2b182f7

Browse files
author
Study-is-happy
committed
t
1 parent c9cb6d6 commit 2b182f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def main(args):
157157
model_without_ddp.init_bhwd(img1.shape[0], img1.shape[-2], img1.shape[-1], device, args.amp)
158158

159159
with torch.cuda.amp.autocast(enabled=args.amp):
160-
flow_preds = model(img1, img2, iters_s8=5)
160+
flow_preds = model(img1, img2, iters_s16=3, iters_s8=5)
161161
loss, metrics = flow_loss_func(flow_preds, flow_gt, valid, args.max_flow)
162162

163163
scaler.scale(loss).backward()

0 commit comments

Comments
 (0)