Replies: 2 comments 3 replies
-
Can anyone help me? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You could refer to the following documentation |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am getting an error while setup of datamodule as below:
ValueError: not enough values to unpack (expected 2, got 0)
I am trying to perform anomaly segmentation task without giving mask, hope that is possible.
Following is the snapshot of the code:
datamodule = Folder(
name="vials",
root="E:\PROJECTS\TestAnomalib\TrainSET",
normal_dir="good",
abnormal_dir=None,
task=TaskType.SEGMENTATION,
mask_dir=None,
normal_test_dir=None,
extensions=".bmp",
normal_split_ratio=0.2,
image_size=(256, 256),
train_batch_size=2,
eval_batch_size=1,
num_workers=0,
test_split_mode=TestSplitMode.NONE
)
datamodule.setup()
Your help is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions