"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "e7b69cbe191ede2697f92b953caf54e0599f3ede"
Commit 306bb3f9 authored by Mufei Li's avatar Mufei Li Committed by Minjie Wang
Browse files

[Bugfix] Fix minigc (#585)

parent 21e172d0
...@@ -143,6 +143,6 @@ class MiniGCDataset(object): ...@@ -143,6 +143,6 @@ class MiniGCDataset(object):
def _gen_circular_ladder(self, n): def _gen_circular_ladder(self, n):
for _ in range(n): for _ in range(n):
num_v = np.random.randint(self.min_num_v, self.max_num_v) num_v = np.random.randint(self.min_num_v, self.max_num_v)
g = nx.circular_ladder_graph(num_v) g = nx.circular_ladder_graph(num_v // 2)
self.graphs.append(g) self.graphs.append(g)
self.labels.append(7) self.labels.append(7)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment