Replies: 4 comments
-
Thanks for submitting this issue! It has been added to our triage queue. A maintainer will review it shortly. |
Beta Was this translation helpful? Give feedback.
-
I think this a discussion not a bug, could you next time use the discussion tab? def setup(self, stage: str | None = None) -> None:
# ...
self._setup(stage)
self._create_test_split()
self._create_val_split()
# ... The Splits are called in this order. So to answer your question, first the test ratio is used to split the data. Then the val. You can see the full code here: https://github.com/open-edge-platform/anomalib/blob/main/src/anomalib/data/datamodules/base/image.py#L288 |
Beta Was this translation helpful? Give feedback.
-
normal_dir Number of images are 100.
normal_dir Number of images are 100. normal_test_dir Number of images are 200. |
Beta Was this translation helpful? Give feedback.
-
datamodule = Folder( ) datamodule = Folder( ) normal_test_dir Number of images are 200. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Your Question
class Folder(AnomalibDataModule):
"""Folder DataModule.
What is the relationship between test_split_ratio and val_split_ratio? Is the data get from this normal_test-dir
How to set ?
Forum Check
Beta Was this translation helpful? Give feedback.
All reactions