parent
e5c7ecfd46
commit
b111b85828
@ -1,9 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rm /tmp/citeseer/mindrecord/*
|
SRC_PATH=/tmp/citeseer/dataset
|
||||||
|
MINDRECORD_PATH=/tmp/citeseer/mindrecord
|
||||||
|
|
||||||
|
rm -f $MINDRECORD_PATH/*
|
||||||
|
|
||||||
python writer.py --mindrecord_script citeseer \
|
python writer.py --mindrecord_script citeseer \
|
||||||
--mindrecord_file "/tmp/citeseer/mindrecord/citeseer_mr" \
|
--mindrecord_file "$MINDRECORD_PATH/citeseer_mr" \
|
||||||
--mindrecord_partitions 1 \
|
--mindrecord_partitions 1 \
|
||||||
--mindrecord_header_size_by_bit 18 \
|
--mindrecord_header_size_by_bit 18 \
|
||||||
--mindrecord_page_size_by_bit 20 \
|
--mindrecord_page_size_by_bit 20 \
|
||||||
--graph_api_args "/tmp/citeseer/dataset/citeseer.content:/tmp/citeseer/dataset/citeseer.cites"
|
--graph_api_args "$SRC_PATH/citeseer.content:$SRC_PATH/citeseer.cites"
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rm /tmp/cora/mindrecord/*
|
SRC_PATH=/tmp/cora/dataset
|
||||||
|
MINDRECORD_PATH=/tmp/cora/mindrecord
|
||||||
|
|
||||||
|
rm -f $MINDRECORD_PATH/*
|
||||||
|
|
||||||
python writer.py --mindrecord_script cora \
|
python writer.py --mindrecord_script cora \
|
||||||
--mindrecord_file "/tmp/cora/mindrecord/cora_mr" \
|
--mindrecord_file "$MINDRECORD_PATH/cora_mr" \
|
||||||
--mindrecord_partitions 1 \
|
--mindrecord_partitions 1 \
|
||||||
--mindrecord_header_size_by_bit 18 \
|
--mindrecord_header_size_by_bit 18 \
|
||||||
--mindrecord_page_size_by_bit 20 \
|
--mindrecord_page_size_by_bit 20 \
|
||||||
--graph_api_args "/tmp/cora/dataset/cora_content.csv:/tmp/cora/dataset/cora_cites.csv"
|
--graph_api_args "$SRC_PATH/cora_content.csv:$SRC_PATH/cora_cites.csv"
|
||||||
|
Loading…
Reference in new issue