Removed debug prints during forward passes

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-05-30 14:46:55 +02:00
parent a838dd6a1b
commit 3d1ba8adbf

View File

@ -191,7 +191,6 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
batch_size = None batch_size = None
for _ in range(forward_passes_per_image): for _ in range(forward_passes_per_image):
result = np.array(ssd(inputs)) result = np.array(ssd(inputs))
print(f"shape result: {result.shape}")
if batch_size is None: if batch_size is None:
batch_size = result.shape[0] batch_size = result.shape[0]
if detections is None: if detections is None:
@ -199,7 +198,6 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
for i in range(batch_size): for i in range(batch_size):
batch_item = result[i] batch_item = result[i]
print(f"batch item: {batch_item.shape}")
detections[i].extend(batch_item) detections[i].extend(batch_item)
observations = np.asarray(_get_observations(detections)) observations = np.asarray(_get_observations(detections))