Skip to content

Commit

Permalink
clarify scale
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalmsley committed Mar 21, 2024
1 parent 77414a1 commit 3347aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion galaxy_datasets/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def default_transforms(
crop_ratio_bounds=(0.9, 1.1),
resize_after_crop=224,
pytorch_greyscale=False,
to_float=False # later zoobot checkpoints expect 0-1 float, not 0-255 float
to_float=True # set to True when loading images directly, False via webdatasets (which normalizes to 0-1 on decode)
) -> A.Compose:

transforms_to_apply = base_transforms(pytorch_greyscale)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="galaxy-datasets",
version="0.0.16",
version="0.0.17",
author="Mike Walmsley",
author_email="[email protected]",
description="Galaxy Zoo datasets for PyTorch/TensorFlow",
Expand Down

0 comments on commit 3347aa0

Please sign in to comment.