Removed debug print

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-04-29 11:06:29 +02:00
parent c71fb889da
commit 198325883c

View File

@ -185,7 +185,6 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
decoded_predictions_batch.append(np.array(ssd(inputs))) decoded_predictions_batch.append(np.array(ssd(inputs)))
# save predictions batch-wise to prevent memory problems # save predictions batch-wise to prevent memory problems
print(decoded_predictions_batch[0])
with open(f"{output_file}-{counter:d}.npy", 'wb') as file: with open(f"{output_file}-{counter:d}.npy", 'wb') as file:
np.save(file, decoded_predictions_batch, allow_pickle=False, fix_imports=False) np.save(file, decoded_predictions_batch, allow_pickle=False, fix_imports=False)