Skip to content

sample code not run it need self  #2

@aliysefian

Description

@aliysefian

if graph_labels is not None:
on line 150 must be self.graph_labels
and in train

  batch_data, batch_labels = self.g2v.generate_file_batch(self.batch_size, self.window_size, self.doc_id,
                                                                    self.ROOT + self.dataset + '_corpus{}/{}'.format(label_suffix, self.corpus_fn_name.format(self.doc_id)),
                                                                    self.nodes_per_graphs[self.doc_id])

line 266

must add self
after I fix it I don't understand that
why self.nodes_per_graphs[self.doc_id]
can't find index 69 why?

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