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 Data augmentation #26

Open
chaolistat opened this issue Jul 5, 2023 · 4 comments
Open

Question about Data augmentation #26

chaolistat opened this issue Jul 5, 2023 · 4 comments

Comments

@chaolistat
Copy link

In the paper, you mentioned adding noise to the training data and perturbeding the tone. May I know where the code for this part is? I couldn't find them. Thank you

@chaolistat
Copy link
Author

Also, I would like to ask what the purpose of the following code is. I don't quite understand, thank you very much!
image

@guanyingc
Copy link
Owner

Hi,

  1. Add noise on reference frame:

    self.perturb_low_expo_imgs(ldrs, expos)

    2.perturb the tone in:
    ldrs[self.ldr_mid] = noutils.pt_tone_ref_tone_augment(ldrs[self.ldr_mid], d=0.7)

  2. The attached code generates a "new maximum value" for re-exposure. For example, if the value of new_anchor is 0.97, after the last two line of codes, values that larger than 0.97 will be cliped.

@chaolistat
Copy link
Author

Hi,

  1. Add noise on reference frame:

    self.perturb_low_expo_imgs(ldrs, expos)

    2.perturb the tone in:

    ldrs[self.ldr_mid] = noutils.pt_tone_ref_tone_augment(ldrs[self.ldr_mid], d=0.7)

  2. The attached code generates a "new maximum value" for re-exposure. For example, if the value of new_anchor is 0.97, after the last two line of codes, values that larger than 0.97 will be cliped.

Thanks! But for 2. I still don't quite understand why a "new maximum value" is done.
And is the way the paper simulates over/ubder exposure consistent with real life?

@chaolistat
Copy link
Author

Or could you tell me which part of the paper a "new maximum value" corresponds to? thanks

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