We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rs train
1 parent 344c0bb commit c1b3780Copy full SHA for c1b3780
robosat/tools/train.py
@@ -63,7 +63,9 @@ def main(args):
63
os.makedirs(model["common"]["checkpoint"], exist_ok=True)
64
65
num_classes = len(dataset["common"]["classes"])
66
- net = FPNSegmentation(num_classes).to(device)
+ net = FPNSegmentation(num_classes)
67
+ net = DataParallel(net)
68
+ net = net.to(device)
69
70
if model["common"]["cuda"]:
71
torch.backends.cudnn.benchmark = True
0 commit comments