Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tohinz authored Mar 1, 2021
1 parent a14b006 commit 5e95373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
pass

# get resolution of training images
_training_imgs = glob.glob(os.path.join(opt.dataroot, "*.jpg")) + glob.glob(os.path.join(opt.dataroot, "*.png"))
_training_imgs = glob.glob(os.path.join(opt.dataroot, "*.jpg")) + glob.glob(os.path.join(opt.dataroot, "*.png")) + glob.glob(os.path.join(opt.dataroot, "*.jpeg"))
_img = img.imread(_training_imgs[0])
opt.image_size_x = _img.shape[0]
opt.image_size_y = _img.shape[1]
Expand Down

0 comments on commit 5e95373

Please sign in to comment.