You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can't train planrcnn with multiple gpu when I modify the batchsize>1 in dataloader?
hello, I have 4 titanxp, and I want to train planercnn, in train_planercnn.py
dataloader = DataLoader(dataset, batch_size=1, shuffle=True, num_workers=16) and it only use one gpu. when I modify the batch_size>1(such as 4), it failed to train. the error is as followed.
I find that in the original mask-rcnn repo, the author mentions in README that he uses the ROIAlign implemented by others, and it only supports one gpu training: https://github.com/longcw/RoIAlign.pytorch. Maybe this information can help you.
can't train planrcnn with multiple gpu when I modify the batchsize>1 in dataloader?
hello, I have 4 titanxp, and I want to train planercnn, in train_planercnn.py
dataloader = DataLoader(dataset, batch_size=1, shuffle=True, num_workers=16) and it only use one gpu. when I modify the batch_size>1(such as 4), it failed to train. the error is as followed.
return torch.stack(batch, 0, out=out)
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0,
I found the similar issue: https://discuss.pytorch.org/t/problem-with-custom-dataset-invalid-argument-0-sizes-of-tensors-must-match-except-in-dimension-0/34792 , but can't solve it.
can you give me some tips? or how you train planercnn with multiple gpu and more batchsize? @tmbdev @vinodgro @mjgarland @dumerrill @sdalton1
The text was updated successfully, but these errors were encountered: