Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
4ceb0bff
Unverified
Commit
4ceb0bff
authored
Jul 19, 2023
by
keli-wen
Committed by
GitHub
Jul 19, 2023
Browse files
[Graphbolt] Modify `preprocess_ondisk_dataset` function. (#6019)
fix str2
parent
fe8a8fc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/dgl/graphbolt/impl/ondisk_dataset.py
python/dgl/graphbolt/impl/ondisk_dataset.py
+2
-2
No files found.
python/dgl/graphbolt/impl/ondisk_dataset.py
View file @
4ceb0bff
...
@@ -120,13 +120,13 @@ def preprocess_ondisk_dataset(input_config_path: str) -> str:
...
@@ -120,13 +120,13 @@ def preprocess_ondisk_dataset(input_config_path: str) -> str:
# 5. Save the CSCSamplingGraph and modify the output_config.
# 5. Save the CSCSamplingGraph and modify the output_config.
output_config
[
"graph_topology"
]
=
{}
output_config
[
"graph_topology"
]
=
{}
output_config
[
"graph_topology"
][
"type"
]
=
"CSCSamplingGraph"
output_config
[
"graph_topology"
][
"type"
]
=
"CSCSamplingGraph"
output_config
[
"graph_topology"
][
"path"
]
=
(
output_config
[
"graph_topology"
][
"path"
]
=
str
(
processed_dir_prefix
/
"csc_sampling_graph.tar"
processed_dir_prefix
/
"csc_sampling_graph.tar"
)
)
save_csc_sampling_graph
(
save_csc_sampling_graph
(
csc_sampling_graph
,
csc_sampling_graph
,
dataset_path
/
output_config
[
"graph_topology"
][
"path"
],
str
(
dataset_path
/
output_config
[
"graph_topology"
][
"path"
]
)
,
)
)
del
output_config
[
"graph"
]
del
output_config
[
"graph"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment