Skip to content

Commit

Permalink
Remove old FIXME and minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
colbyham committed Jun 18, 2021
1 parent 9fcb907 commit 4dd99f2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def main(args):
else:
print("No pretrained embedding, no need to evaluate workflow 1.\n")


print("***************PRETRAINING***************")
pre_num_batches = setup_pretraining_input(args, attr_graph, context_gen, data_path)
print("\n Run model for pre-training ...")
Expand Down
2 changes: 0 additions & 2 deletions src/finetuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def run_finetuning_wkfl2(
else:
pretrained_node_embedding_tensor = None

# FIXME
slice = SLICE(
args.n_layers,
args.d_model,
Expand Down Expand Up @@ -258,7 +257,6 @@ def run_finetuning_wkfl3(
else:
pretrained_node_embedding_tensor = None

# FIXME
slice = SLICE(
args.n_layers,
args.d_model,
Expand Down
2 changes: 1 addition & 1 deletion src/processing/attributed_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def get_random_non_edges(self, cnt):

def generate_link_prediction_dataset(self, outdir, fr_valid_edges, fr_test_edges):
print("In Default AttributedGraph LinkPrediction generation")
false_edge_gen = self.false_edge_gen #FIXME - this isn't defined
false_edge_gen = self.false_edge_gen
all_positive_edges = self.map_positive_edges()
num_edges = self.G.number_of_edges()
num_test_edges = int(num_edges * fr_test_edges)
Expand Down

0 comments on commit 4dd99f2

Please sign in to comment.