princewen / tensorflow_practice

tensorflow实战练习,包括强化学习、推荐系统、nlp等
6.67k stars 3.27k forks source link

gan中generate的代码是不是有问题? #26

Open hawhuang opened 5 years ago

hawhuang commented 5 years ago

self.all_logits = tf.reduce_sum(tf.multiply(self.u_embedding,self.item_embeddings),1) + self.item_bias

这里是不是有问题?应该是self.i_embedding

hawhuang commented 5 years ago

仔细看了一下,代码没有问题,但是self.all_logits和self.all_rating是一样的,不知道为啥要算2次

Gooood3 commented 1 year ago

仔细看了一下,代码没有问题,但是self.all_logits和self.all_rating是一样的,不知道为啥要算2次

您好,请问SeqGAN中怎么添加自己的数据集?