AWE
AWE copied to clipboard
sample code not run it need self
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?
i have the same question . if u find the answer please let me know ,thank u very much.