@ -185,8 +185,8 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
|
||||
|
||||
from tensorflow.python.eager import context
|
||||
|
||||
trs = tracker.SummaryTracker()
|
||||
trs.print_diff()
|
||||
# trs = tracker.SummaryTracker()
|
||||
# trs.print_diff()
|
||||
|
||||
for inputs in dataset:
|
||||
decoded_predictions_batch = []
|
||||
@ -196,9 +196,9 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
|
||||
decoded_predictions_batch.append(result)
|
||||
del result
|
||||
else:
|
||||
trs.print_diff()
|
||||
# trs.print_diff()
|
||||
result = np.array(ssd(inputs))
|
||||
trs.print_diff()
|
||||
# trs.print_diff()
|
||||
decoded_predictions_batch.append(result)
|
||||
del result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user