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

Why flip the third dimension y = torch.flip(x, (3,)) for the invertible toy problem? #14

Open
zuoshifan opened this issue Feb 25, 2022 · 1 comment

Comments

@zuoshifan
Copy link

In Tutorial 1: Training iUNets in Pytorch, for the An invertible toy problem, when Training the model, the loss was computed by comparing the model output output = model(x) and y = torch.flip(x, (3,)) instead of x. Why the third dimension should be flipped? Thank you!

@tasptz
Copy link

tasptz commented May 16, 2024

To mirror the image:

In the following, we will train an iUNet to mirror the input image as a warm-up.

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