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

May I know how to sample the pixels which are used in the loss function? #9

Open
chaneyddtt opened this issue Feb 13, 2022 · 0 comments

Comments

@chaneyddtt
Copy link

Hi @jamt9000,
Thanks for the great work. I have one question about the implementation for pixel sampling. How to sample pixels from the original images, which will be used in the loss function? I am not quite understand these two lines of code in the implementation:
image
Could you please give some explanation about the function random_tps_weights()? What does 'weights1' represent and also the multiplication between 'self.F' and 'weights1'

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

1 participant