"docs/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "afc9721898d28346f38f7325fd439bee35e9983a"
Unverified Commit 5f2639e2 authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

[Regression] Fix Reddit dataset in regression test (#3106)



* fix

* fix

* Update run.sh
Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
parent 066bef21
...@@ -99,7 +99,7 @@ def get_graph(name, format = None): ...@@ -99,7 +99,7 @@ def get_graph(name, format = None):
g_list, _ = dgl.load_graphs(bin_path) g_list, _ = dgl.load_graphs(bin_path)
g = g_list[0] g = g_list[0]
else: else:
g = dgl.data.RedditDataset(self_loop=True)[0].formats([format]) g = dgl.data.RedditDataset(self_loop=True)[0].formats(format)
dgl.save_graphs(bin_path, [g]) dgl.save_graphs(bin_path, [g])
elif name.startswith("ogb"): elif name.startswith("ogb"):
g = get_ogb_graph(name) g = get_ogb_graph(name)
......
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