Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 643280876
  • Loading branch information
Scenic Authors committed Jun 14, 2024
1 parent e081030 commit 63e7e81
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def extract_graph_mp(kg_graph, n_pool=1) -> None:
"""
jobs = []
if not gfile.Exists(data_util.WIKIPEDIA_GRAPH_PATH):
gfile.MakeDirs(data_util.WIKIPEDIA_GRAPH_PATH)
gfile.MakeDirs(
data_util.WIKIPEDIA_GRAPH_PATH,
mode=gfile.LEGACY_GROUP_WRITABLE_WORLD_READABLE,
)
if n_pool == 1:
for i in range(data_util.NUM_SPLIT):
extract_graph_from_file(kg_graph, i)
Expand Down

0 comments on commit 63e7e81

Please sign in to comment.