From 5d3f118ab096549fd6481bd2c26bc98ccd9e37c0 Mon Sep 17 00:00:00 2001 From: Nasheed Yasin Date: Thu, 28 Oct 2021 20:53:47 +0530 Subject: [PATCH] Update hparams_config.py The change is proposed to improve the overall accessibility of the repo. It is often confusing for newcomers who are experimenting with toy datasets. The training fails with hard debug errors if they set the batch_size < total dataset size. --- efficientdet/hparams_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efficientdet/hparams_config.py b/efficientdet/hparams_config.py index 1653f00fe..bb44c6c28 100644 --- a/efficientdet/hparams_config.py +++ b/efficientdet/hparams_config.py @@ -253,7 +253,7 @@ def default_detection_configs(): h.apply_bn_for_resampling = True h.conv_after_downsample = False h.conv_bn_act_pattern = False - h.drop_remainder = True # drop remainder for the final batch eval. + h.drop_remainder = False # drop remainder for the final batch eval. # For post-processing nms, must be a dict. h.nms_configs = {