LoSealL / VideoSuperResolution

A collection of state-of-the-art video or single-image super-resolution architectures, reimplemented in tensorflow.
MIT License
1.62k stars 296 forks source link

What is the function of ensemble in option? #62

Closed HymEric closed 5 years ago

HymEric commented 5 years ago

I found this:

tf.flags.DEFINE_bool('ensemble', False,
                     "Enable self-ensemble at inferring. (ONLY INFER)")

Can you tell me what is the function?

LoSealL commented 5 years ago

A trick, first introduced in EDSR paper. Use rotate, flip, ... to generate 8 augmented patches, infer individually, and average them to final output. Use to increase accuracy.

HymEric commented 5 years ago

Got it. Thanks a lot.