Closed lh123cha closed 11 months ago
And I how can I get the coo.txt file like uk_coo.txt from gnnlab. I can only get samgraph/uk-2006-05/coo.bin and samgraph/twitter/coo.bin from gnnlab.
How can I get the coo.txt file used in preprocess/UU_UK_TW.py
Hi @lh123cha , thanks for your interest in our work!
I have already install the dc_dgl successfully.But I encounter this error:
It seems that the problem is in OGB loading, could you try the following code and check the results?
from ogb.nodeproppred import DglNodePropPredDataset
dataset = DglNodePropPredDataset(name='ogbn-papers100M')
And I how can I get the coo.txt file like uk_coo.txt from gnnlab. I can only get samgraph/uk-2006-05/coo.bin and samgraph/twitter/coo.bin from gnnlab.
You can modify the webgraph utility in gnnlab to (de)serialise the bin file to coo file. Specifically, you can change the line of code and print/save to stdout/file instead.
Thank you for the answer!But when I run run_allocate.py
on uk dataset
CUDA_VISIBLE_DEVICES=0 python run_allocate.py --dataset uk --fanouts 15,15,15 --fake-dim 100 --total-budget 1
The error occurs
It seems like the np.polyfit() package failed on uk dataset.But I can run successfully on twitter dataset.Is there something wrong in uk dataset?
I haven't encountered such problem before, but according to the error message, it seems that the program fails to fitting the curve due to large variance in the system running time? Maybe you can try the following:
(1) avoid sharing the GPU/Machine with other users, because the contention on GPU/PCIe leads to unstable system running time, which could cause the failure for np.polyfit().
(2) set pre_batches
and pre_epochs
to larger values (such as 1000 & 10), this can mitigate the instability of system running time.
Thank for the answer!I have sloved the problem.The problem is the total_buget is smaller than nfeat_buget that cause the nfeat_stats's length is one.And it is wrong to fitting the curve with only one point.So I set --total-buget to a larger number like 10.
Indeed this is a corner case not covered by the current Allocator lol, I will consider add sanity check for this part maybe later. Thank you for reporting the case!
Hi, I have updated the script to fix the problem and I will close this issue. Please feel free to reopen it or open a new issue If you have any further problems, thanks.
I have already install the dc_dgl successfully.But I encounter this error: