Missing motivation for TF hacking in Pix2Pix Generative tutorial #43929
Labels
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
type:docs-feature
Doc issues for new feature, or clarifications about functionality
URL(s) with the issue:
Please provide a link to the documentation entry, for example:
The note from
https://www.tensorflow.org/tutorials/generative/pix2pix#generate_images
Description of issue (what needs changing):
Under the section pointed to above there is a note addressing a hack in the code where training mode is used for a piece of code serving as "visual validation". To me, as a person learning from this tutorial, it is insufficient. Although it mitigates the uncertainty around unexpected measures by saying that this is done for the sake of certain shapes of statistics, it also cuts abruptly by saying "and this is what we [don't] want". This leaves me puzzled with why do we want such thing, the more so that further on we take just a single sample which means that the batch norm degenerates to instance norm.
Clear description
Can someone please add motivation to why training statistics are preferred in this case and perhaps relate to the issue of BN in the case of a single example?
The text was updated successfully, but these errors were encountered: