Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the Dataset #26

Closed
dbjhbyun opened this issue Jul 10, 2020 · 1 comment
Closed

Question about the Dataset #26

dbjhbyun opened this issue Jul 10, 2020 · 1 comment

Comments

@dbjhbyun
Copy link

Hi,

I was looking through the code but couldn't figure out what "scribble" indicates.
From dataloaders/customized.py
Line 103
support_scribbles = [[paired_sample[cumsum_idx[i] + j]['scribble'] for j in range(n_shots)]
for i in range(n_ways)]

Could you clarify what the support_scribbles mean? Also, what is "image_t"
From dataloaders/customized.py
Line 93
support_images_t = [[paired_sample[cumsum_idx[i] + j]['image_t'] for j in range(n_shots)]
for i in range(n_ways)]

Is it the segmentation target mask of the given image? While, label indicates the class_index of the mask?

Thanks in advance,

@kaixin96
Copy link
Owner

Hi @dbjhbyun, scribble refers to the scribble annotations mentioned in Section 4.4 of our paper.

I must apologize for the confusing variable name image_t. I use it to denote the images after transformation (flip or resize) but before Pytorch's toTensor (which scales and normalizes the input with ImageNet mean and std). They are useful when you want to manually check the images or do some visualization.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants