Skip to content

Commit

Permalink
[0, 255] to [0, 1]
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiWeiHsiao committed Sep 22, 2018
1 parent 99c06ed commit 963b491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def main():
kwargs = {'num_workers': 1, 'pin_memory': True} if use_cuda else {}

if args.data == 'FashionMNIST':
train_dataset = OmniFashionMNIST(fov=120, flip=True, h_rotate=True, v_rotate=True, train=True)
test_dataset = OmniFashionMNIST(fov=120, flip=True, h_rotate=True, v_rotate=True, train=False)
train_dataset = OmniFashionMNIST(fov=120, flip=True, h_rotate=True, v_rotate=True, img_std=255, train=True)
test_dataset = OmniFashionMNIST(fov=120, flip=True, h_rotate=True, v_rotate=True, img_std=255, train=False)
elif args.data == 'MNIST':
train_dataset = OmniMNIST(fov=120, flip=True, h_rotate=True, v_rotate=True, train=True)
test_dataset = OmniMNIST(fov=120, flip=True, h_rotate=True, v_rotate=True, train=False)
Expand Down

0 comments on commit 963b491

Please sign in to comment.