Skip to content

Commit

Permalink
minor changes to candidate detection
Browse files Browse the repository at this point in the history
  • Loading branch information
clkruse committed Apr 2, 2022
1 parent 7015ce5 commit 3c782d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/candidate_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def detect_blobs_tiled(source_dir, name, model_name, pred_threshold=0.75, min_si
area_threshold establishes a lower bound on candidate blob size. Reduce to detect smaller blobs
"""
files = os.listdir(source_dir)
file_paths = [os.path.join(source_dir, file) for file in files]
file_paths = [os.path.join(source_dir, f) for f in files if '.DS_Store' not in f]

blob_detect_partial = functools.partial(blob_detect,
pred_threshold=pred_threshold,
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy_candidate_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'image': ('us.gcr.io/dl-ci-cd/images/tasks/public/' +
'py3.8:v2020.09.22-5-ga6b4e5fa'),
'cpus': 1,
'maximum_concurrency': 60,
'maximum_concurrency': 150,
'memory': '2Gi',
'retry_count': 4,
'task_timeout': 20000,
Expand Down

0 comments on commit 3c782d0

Please sign in to comment.