PyTorch-Geometric-YooChoose icon indicating copy to clipboard operation
PyTorch-Geometric-YooChoose copied to clipboard

No such file or directory: '../processed/../input/yoochoose_click_binary_1M_sess.dataset'

Open LindaSt opened this issue 5 years ago • 2 comments

Hi!

When I run dataset = YooChooseBinaryDataset(root='../') I get the following error:

No such file or directory: '../processed/../input/yoochoose_click_binary_1M_sess.dataset'

I could not find where this file was generated. Can you help me? Thank you in advance.

LindaSt avatar Nov 19 '19 15:11 LindaSt

Method processed_file_names of class YooChooseBinaryDataset: replace return ['../input/yoochoose_click_binary_1M_sess.dataset'] with return ['./yoochoose_click_binary_1M_sess.dataset']

There should be a processed folder. The yoochoose_click_binary_1M_sess.dataset file sould be in that.

fatsoengineer avatar Nov 24 '19 18:11 fatsoengineer

I'd like to ask what dose the parameter "root" mean and how to use it. This really confuse me why pyG team wants us to use this parameter without clearly explanation. For example, if I bulid a new directory named "data" and want to manage all datasets in it, what should I write in
def processed_file_names(self): return ['./yoochoose_click_binary_1M_sess.dataset'] and dataset = YooChooseBinaryDataset(root='../') ? thx

DCLe-DA avatar Apr 14 '23 00:04 DCLe-DA