Open ellieokok opened 4 years ago
hi, is it okay with you if you have some time to explain the code to me?
hi,I've been studing your code recently,but there is a problem when I try to run this code.When I ran
dataset/preprocessing.py
, code stop atsplit_train_test()
; (this is the output ofdataset/preprocessing.py
:Load raw data from book2movie/reviews_Books_5.csv. Load raw data from book2movie/reviews_Movies_and_TV_5.csv. Source domain users 126666, items 63202, ratings 3494976. Target domain users 27822, items 12287, ratings 779376. Overlapping users 6074 (0.000%, 0.000%). Ratio 1.00, common users 3037, vali cold-start users 1214, test cold-start users 1823.
)so when I try to run
runner/CATN_runner.py
,there is a error just like thisTraceback (most recent call last): File "CATN_runner.py", line 106, in <module> with open(pkl_path % args.ratio, 'rb') as f: IOError: [Errno 2] No such file or directory: './dataset/book2movie/crossdata_i30_u10_0.20.pkl'
I wonder if u can help to figure this out ,thank u!!
I guess you haven't generated the pkl file. In my case, it costs me about 5 days to outcome the pkl file in my laptop.
How to generate the pkl file?
Have you solved the problem?I meet the same.
hi,I've been studing your code recently,but there is a problem when I try to run this code.When I ran
dataset/preprocessing.py
, code stop atsplit_train_test()
; (this is the output ofdataset/preprocessing.py
:Load raw data from book2movie/reviews_Books_5.csv. Load raw data from book2movie/reviews_Movies_and_TV_5.csv. Source domain users 126666, items 63202, ratings 3494976. Target domain users 27822, items 12287, ratings 779376. Overlapping users 6074 (0.000%, 0.000%). Ratio 1.00, common users 3037, vali cold-start users 1214, test cold-start users 1823.
)so when I try to run
runner/CATN_runner.py
,there is a error just like thisTraceback (most recent call last): File "CATN_runner.py", line 106, in <module> with open(pkl_path % args.ratio, 'rb') as f: IOError: [Errno 2] No such file or directory: './dataset/book2movie/crossdata_i30_u10_0.20.pkl'
I wonder if u can help to figure this out ,thank u!!