Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
fix arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyu2172 committed Dec 17, 2018
1 parent 1e9953d commit 92a6fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pspnet/train_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Transform(object):

def __init__(
self, mean,
scale_range=[0.5, 2.0], crop_size=(713, 713)):
crop_size, scale_range=[0.5, 2.0]):
self.mean = mean
self.scale_range = scale_range
self.crop_size = crop_size
Expand Down Expand Up @@ -237,7 +237,7 @@ def main():
train = TransformDataset(
train,
('img', 'label'),
Transform(model.mean, crop_size=dataset_cfg['input_size']))
Transform(model.mean, dataset_cfg['input_size']))
else:
train, val = None, None
train = chainermn.scatter_dataset(train, comm, shuffle=True)
Expand Down

0 comments on commit 92a6fc3

Please sign in to comment.