Skip to content

Commit 7445465

Browse files
committed
BUG: Fix incorrect pixel RGB standard deviation
1 parent 53d82ad commit 7445465

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bioscan_dataset/bioscan1m.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from torchvision.datasets.vision import VisionDataset
1818

1919
RGB_MEAN = torch.tensor([0.72510918, 0.72891550, 0.72956181])
20-
RGB_STDEV = torch.tensor([0.66364000, 0.66088159, 0.66035860])
20+
RGB_STDEV = torch.tensor([0.12654378, 0.14301962, 0.16103319])
2121

2222
COLUMN_DTYPES = {
2323
"sampleid": str,

bioscan_dataset/bioscan5m.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
from torchvision.datasets.vision import VisionDataset
1919

2020
RGB_MEAN = torch.tensor([0.76281859, 0.76503749, 0.76373138])
21-
RGB_STDEV = torch.tensor([0.67122520, 0.66740192, 0.66488950])
21+
RGB_STDEV = torch.tensor([0.14205404, 0.15642502, 0.17309470])
22+
2223

2324
COLUMN_DTYPES = {
2425
"processid": str,

0 commit comments

Comments
 (0)