RUCAIBox / RecSysDatasets

This is a repository of public data sources for Recommender Systems (RS).
https://recbole.io/
844 stars 132 forks source link

Foursquare dataset generation error #97

Open J-cabin opened 2 years ago

J-cabin commented 2 years ago

When I execute the final step, “python run.py --dataset foursquare --input_path foursquare-data --output_path output_data/foursquare --duplicate_removal --convert_inter”, the following error comes:

File "/recbole/lib/python3.7/_strptime.py", line 326, in _strptime raise TypeError(msg.format(index, type(arg))) TypeError: strptime() argument 0 must be str, not <class 'NoneType'>

Looking forward to fixing this issue.

Sherry-XLL commented 2 years ago

@J-cabin Hello, I'm sorry for the late reply.

When I download the raw foursquare data in kaggle, and put in into the RecSysDatasets/conversion_tools/foursquare-data folder, everything checks out as follows.

~/RecSysDatasets/conversion_tools$ python run.py --dataset foursquare --input_path foursquare-data --output_path output_data/foursquare --duplicate_removal --convert_inter
100%|███████████████████████████████████████████████████████████████████████████| 227428/227428 [00:00<00:00, 432542.78it/s]
100%|█████████████████████████████████████████████████████████████████████████████| 91024/91024 [00:00<00:00, 378665.53it/s]
100%|███████████████████████████████████████████████████████████████████████████| 573703/573703 [00:01<00:00, 504426.26it/s]
100%|███████████████████████████████████████████████████████████████████████████| 211955/211955 [00:00<00:00, 378912.16it/s]

1649726615905

I didn't have any problems in the process of running and successfully generated the atomic file data. Please provide more details to help us reproduce this error.

In addition, you can download the processed files directly without downloading the source code and atomic files from Baidu Wangpan (Password: e272) or Google Drive.

Thanks for your attention to RecSysDatasets!