Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 5, 2022
1 parent a2043a8 commit 2055ff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: Implementation :: CPython

[options]
Expand All @@ -29,7 +30,7 @@ install_requires =
fast-overlap
numpy
pandas
read_roi
read-roi
tifffile
torch
python_requires = >=3.6
Expand Down
2 changes: 1 addition & 1 deletion yeast_mrcnn/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def mrcnn():
)

# Make anchor generator with 3 sizes per feature map and 5 aspect ratios
sizes = tuple(2.0 ** x for x in range(5, 12))
sizes = tuple(2.0**x for x in range(5, 12))
aspects = tuple(0.5 * x for x in range(1, 5))
n_feature_maps = 5 # true for resnet50 with FPN
ag_sizes = tuple(tuple(sizes[i : i + 3]) for i in range(n_feature_maps))
Expand Down

0 comments on commit 2055ff0

Please sign in to comment.