RecSysDatasets icon indicating copy to clipboard operation
RecSysDatasets copied to clipboard

Foursquare dataset generation error

Open J-cabin opened this issue 2 years ago • 1 comments

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.

J-cabin avatar Nov 10 '21 13:11 J-cabin

@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!

Sherry-XLL avatar Apr 12 '22 01:04 Sherry-XLL