Skip to content

Commit

Permalink
Remove unused code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TimKoornstra committed Apr 17, 2024
1 parent 9c541cd commit adda529
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/api/batch_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,6 @@ def batch_prediction_worker(prepared_queue: multiprocessing.Queue,
batch_id, num_predictions)
logging.info("%s batches waiting on prediction",
prepared_queue.qsize())
# del batch_data
# gc.collect()

except Exception as e:
logging.error("Error in Batch Prediction Worker process: %s", e)
Expand Down
3 changes: 0 additions & 3 deletions src/api/image_preparator.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,6 @@ def fetch_and_prepare_images(request_queue: multiprocessing.Queue,
batch_identifiers.append(identifier)
batch_metadata.append(metadata)

# del image, group, identifier, new_model, whitelist
# gc.collect()

# Reset the last image time
last_image_time = time.time()

Expand Down

0 comments on commit adda529

Please sign in to comment.