Skip to content

Commit

Permalink
Merge pull request #1 from bioscan-ml/doc_import-bug
Browse files Browse the repository at this point in the history
DOC+BUG: Fix import of RGB_MEAN and RGB_STDEV
  • Loading branch information
scottclowe authored Dec 5, 2024
2 parents 3fc438d + 7513961 commit 5d6c741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ The dataset class supports the use of data transforms for the image and DNA barc
import torch
import torchvision.transforms as transforms
from bioscan_dataset import BIOSCAN5M
from bioscan_dataset.BIOSCAN5M import RGB_MEAN, RGB_STDEV
from bioscan_dataset.bioscan5m import RGB_MEAN, RGB_STDEV
# Create an image transform, standardizing image size and normalizing pixel values
image_transform = transforms.Compose(
Expand Down

0 comments on commit 5d6c741

Please sign in to comment.