Closed guotong1988 closed 5 years ago
teach_h
是decoder_input过decoder来的,就是完整文本(内容+风格)的最终表示,
(前面加一个h_ori
为和soft_h_tsf
的go
的hidden-state对应)
soft_h_tsf
是encoder_input
过encoder再去掉风格信息再过decoder来的,所以就是纯内容的文本,
teach_h
和soft_h_tsf
通过Discriminator最终来让decoder学习到风格信息。
encoder_input如果没有noise是和decoder_input基本一致的。
style_transfer.py的
是什么意义和作用呢
@shentianxiao 多谢!