Diviner
Diviner
Of course there is no such path:hdfs://cluster/user/app/user/test.tfrecords in my hdfs
代码写了好几年了,具体版本有点忘了,但是肯定不会超过1.12
@like3107 谢谢,有空更改
Have you installed the meshlab? Or is the path correct?
这里有个细节,是我会事先把所有的序列都处理成同样的长度,如果长度不够的话,默认用-1填充,这就是为什么这个用tf.cast(seq_ids >= 0, tf.float32)来做mask
> > 这里有个细节,是我会事先把所有的序列都处理成同样的长度,如果长度不够的话,默认用-1填充,这就是为什么这个用tf.cast(seq_ids >= 0, tf.float32)来做mask > > 您好,您那边做了填充后,还做一个 tf.string_to_hash_bucket_fast 的hash,这个导致seq_ids 里的-1 会映射成别的值,导致您 tf.expand_dims(tf.cast(seq_ids >= 0, tf.float32), axis=-1) 这步应该是不生效的 是的,这里我写错了,多谢指出。 @shelson-woo
我之前没弄出来,就自己写了一下,也不难