Update correct batch size

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-06-20 14:08:20 +02:00
parent 78ab277ce7
commit 8678f14083

View File

@ -46,7 +46,7 @@ def _ssd_train(args: argparse.Namespace) -> None:
tf.enable_eager_execution() tf.enable_eager_execution()
batch_size = 16 batch_size = 32
image_size = 300 image_size = 300
use_dropout = False if args.network == "ssd" else True use_dropout = False if args.network == "ssd" else True
@ -118,7 +118,7 @@ def _auto_encoder_train(args: argparse.Namespace) -> None:
tf.enable_eager_execution() tf.enable_eager_execution()
coco_path = args.coco_path coco_path = args.coco_path
category = args.category category = args.category
batch_size = 32 batch_size = 16
image_size = 256 image_size = 256
coco_data = data.load_coco_train(coco_path, category, num_epochs=args.num_epochs, batch_size=batch_size, coco_data = data.load_coco_train(coco_path, category, num_epochs=args.num_epochs, batch_size=batch_size,
resized_shape=(image_size, image_size)) resized_shape=(image_size, image_size))