-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added first draft of dataframe datamodule
Signed-off-by: Manuel Konrad <84141230+manuelkonrad@users.noreply.github.com>
- Loading branch information
1 parent
bcc0b43
commit d00c6b7
Showing
9 changed files
with
566 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
class_path: anomalib.data.Dataframe | ||
init_args: | ||
name: bottle | ||
root: "datasets/MVTec/bottle" | ||
train_batch_size: 32 | ||
eval_batch_size: 32 | ||
num_workers: 8 | ||
task: segmentation | ||
transform: null | ||
train_transform: null | ||
eval_transform: null | ||
test_split_mode: from_dir | ||
test_split_ratio: 0.2 | ||
val_split_mode: same_as_test | ||
val_split_ratio: 0.5 | ||
seed: null | ||
samples: | ||
- image_path: train/good/000.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: train | ||
- image_path: train/good/001.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: train | ||
- image_path: train/good/002.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: train | ||
- image_path: train/good/003.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: train | ||
- image_path: train/good/004.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: train | ||
- image_path: test/bad/000.png | ||
label_index: 1 | ||
mask_path: ground_truth/bad/000_mask.png | ||
split: test | ||
- image_path: test/bad/002.png | ||
label_index: 1 | ||
mask_path: ground_truth/bad/002_mask.png | ||
split: test | ||
- image_path: test/bad/004.png | ||
label_index: 1 | ||
mask_path: ground_truth/bad/004_mask.png | ||
split: test | ||
- image_path: test/good/000.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: test | ||
- image_path: test/good/001.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: test | ||
- image_path: test/good/003.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: test | ||
- image_path: test/bad/001.png | ||
label_index: 1 | ||
mask_path: ground_truth/bad/001_mask.png | ||
split: test | ||
- image_path: test/bad/003.png | ||
label_index: 1 | ||
mask_path: ground_truth/bad/003_mask.png | ||
split: test | ||
- image_path: test/good/002.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: test | ||
- image_path: test/good/004.png | ||
label_index: 0 | ||
mask_path: "" | ||
split: test |
7 changes: 7 additions & 0 deletions
7
docs/source/markdown/guides/reference/data/image/dataframe.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Dataframe Data | ||
|
||
```{eval-rst} | ||
.. automodule:: anomalib.data.image.dataframe | ||
:members: | ||
:show-inheritance: | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.