Skip to content

A question about loading auxiliary images #1391

Answered by Ezra-Yu
EdyQiu asked this question in General
Discussion options

You must be logged in to vote

its edge-extracted version is also loaded.
Do you mean using the edge-extracted to do classification?

  1. Use YourDataset without LoadImageFromFile 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-L94
  2. Add a new Transform to get the edge-extracted version.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@EdyQiu
Comment options

@Ezra-Yu
Comment options

Ezra-Yu Mar 1, 2023
Collaborator

Answer selected by EdyQiu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants