Skip to content

Commit

Permalink
Fix minor typo bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-jeff committed Aug 30, 2024
1 parent 31c46dd commit 82d25c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train2/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
parser.add_argument('--data2', default=None, help='path to dataset2')
parser.add_argument('--size1', default=None, help='size of dataset1 in percentage (0,1)')
parser.add_argument('--size2', default=None, help='size of dataset2 in percentage (0,1)')
parser.add_argument("--local_rank", type=int)
parser.add_argument("--local-rank", type=int)

# Read the config but do not overwrite the args written
args, remaining_argv = conf_parser.parse_known_args()
Expand Down Expand Up @@ -254,7 +254,7 @@
transform = transforms.Compose([
AddRandomContrast(0.2),
AddRandomBrightness(0.2),
transforms.Scale(opt.imagesize),
transforms.Resize(opt.imagesize),
])
else:
contrast = 0.00001
Expand Down

0 comments on commit 82d25c1

Please sign in to comment.