Skip to content

Commit

Permalink
corrected attribute typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nimrodVarga committed Dec 6, 2023
1 parent 005209d commit b1978ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphmuse/samplers/sampling_sketch.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def sample_from_graphlist(self, graphlist):
_, edge_index_within_region = csamplers.sample_preneighbors_within_region(random_graph.c_graph, region, self.samples_per_node)

#TODO: sample rightmost should be optional
(left_extension, left_edges), (right_extension, right_edges) = csamplers.extend_score_region_via_neighbor_sampling(random_graph.c_graph, random_graph.note_array, region, self.samples_per_nodel, sample_rightmost, sample_leftmost, sample_rightmost)
(left_extension, left_edges), (right_extension, right_edges) = csamplers.extend_score_region_via_neighbor_sampling(random_graph.c_graph, random_graph.note_array, region, self.samples_per_node, sample_rightmost, sample_leftmost, sample_rightmost)

# Sample leftmost node-wise by num layers (this is normal node-wise sampling)
left_layers, edge_indices_between_left_layers, _ = csamplers.sample_nodewise(random_graph.c_graph, self.num_layers-2, self.samples_per_node, left_extension)
Expand Down

0 comments on commit b1978ab

Please sign in to comment.