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

Is there a way to get all the 128x128 patches of a single frame? #4

Open
alessiapacca opened this issue Nov 15, 2020 · 1 comment
Open

Comments

@alessiapacca
Copy link

I was thinking about putting the 128x128 frames back together before calculating the losses.
In the file Teco.py, the loss is calculated only on the single 128x128 patch of the generated image.

For example, this

s_gen_output = tf.reshape(gen_outputs, (FLAGS.batch_size*inputimages, FLAGS.crop_size*4, FLAGS.crop_size*4, 3) )
is the s_gen_output that is afterwartds used in
diff1_mse = s_gen_output - s_targets
to compute the loss.
Is there a way to reach out all the patches of a single frame or not?

I assume batch = 4 means we are dealing with 4 different patches of different videos frames.
And RNN_N being equal to 10 means we have a sequence of 10 patches from 10 consequent frames?
So I was wondering if we can somehow obtain the output of all the 128x128 patches of a frame or not.

@tom-doerr
Copy link
Owner

Don't know about that. You might want to also post it in the main TecoGAN repo where more people will see this.

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