AWE icon indicating copy to clipboard operation
AWE copied to clipboard

sample code not run it need self

Open aliysefian opened this issue 6 years ago • 1 comments

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?

aliysefian avatar Jan 08 '19 19:01 aliysefian

i have the same question . if u find the answer please let me know ,thank u very much.

shinyfang avatar May 02 '19 09:05 shinyfang