RAFT icon indicating copy to clipboard operation
RAFT copied to clipboard

Error while training with flying things 3d

Open abhijit0 opened this issue 2 years ago • 1 comments

I am getting the following error for the line 172, flow_predictions = model(image1, image2, iters=args.iters)

The error is : TypeError: forward() missing 2 required positional arguments: 'image1' and 'image2' Although the images are loaded correctly, I am getting this error.

abhijit0 avatar Jun 01 '22 14:06 abhijit0

Are you using multi gpus? If so, I met this before because I accidentally forgot to increase the batch size proportionally when I increased one extra gpu so that it became indivisible. Make sure you batch size is divisible by the number of gpus.

SecureSheII avatar Jul 14 '22 02:07 SecureSheII