-
Hi, I want to implement an idea that when loading each image in the dataset, its edge-extracted version is also loaded. Any help about how could I modify the code would be very helpful! |
Beta Was this translation helpful? Give feedback.
Answered by
Ezra-Yu
Mar 1, 2023
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
EdyQiu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
YourDataset
withoutLoadImageFromFile
transforms refer to the tutorial. return{'img': img, 'gt_label': gt_label}
as https://github.com/open-mmlab/mmclassification/blob/fb16bdc6a25f96843f8fb97b02e45872c61dc566/mmcls/datasets/cifar.py#L91-L94edge-extracted version
.