My current project: using image and tags to predict highscore tags (more important tags)
Input required: 1 image, 50 tags for each image (padding if necessary), mask (whether tag is padded or not)
Output required: 1 vector of 50 binary classification (whether that tag is highscore or not)
Based on my understanding of DataBlock API, input requires ImageBlock, TagBlock, MaskBlock with n_inp=3. item_tfms and batch_tfms is only applicable for ImageBlock.
I have 2 following questions
How do I apply item_tfms and batch_tfms to only ImageBlock?
How do I show_batch that show ImageBlock only?
Does anyone have any idea how to do it? Thank you in advance
but you can’t use get_x /get_y . You have to pass a list with getters instead (which should have three things, the get for the first image, for the second image and then for your target).