Skip to content

wrong api used #47

@KimRasak

Description

@KimRasak
def _create_ngcf_embed(self):
  ...
  norm_embeddings = tf.math.l2_normalize(ego_embeddings, axis=1)

will caused AttributeError: module 'tensorflow.math' has no attribute 'l2_normalize' in tensorflow-gpu 1.8.0, so it should be norm_embeddings = tf.nn.l2_normalize(ego_embeddings, axis=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions