pytorch/examples

Why there is no tanh activation at the end of TransformerNet?

Open

#570 aperta il 3 giu 2019

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Python (9429 fork)batch import
good first issue

Metriche repository

Star
 (21.634 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

In Fast Style Transfer, it seems like there is no tanh layer at the end of TransformerNet model. There is no gurantee that output values fti in certain range e.g. [0, 1] for PIL image.

Using only deconv is also valid? How does it work?

Guida contributor