You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
错误信息如下
Traceback (most recent call last):
File "train.py", line 82, in
xgboost_make_submission()
File "train.py", line 18, in xgboost_make_submission
user_index, training_data, label = make_train_set(train_start_date, train_end_date, test_start_date, test_end_date)
File "D:\jd-master\gen_feat.py", line 272, in make_train_set
user = get_basic_user_feat()
File "D:\jd-master\gen_feat.py", line 46, in get_basic_user_feat
user = pickle.load(open(dump_path))
TypeError: a bytes-like object is required, not 'str'
把dump_path改成dump_path.encode("utf-8")也没用,一样的错误= =
The text was updated successfully, but these errors were encountered:
错误信息如下
Traceback (most recent call last):
File "train.py", line 82, in
xgboost_make_submission()
File "train.py", line 18, in xgboost_make_submission
user_index, training_data, label = make_train_set(train_start_date, train_end_date, test_start_date, test_end_date)
File "D:\jd-master\gen_feat.py", line 272, in make_train_set
user = get_basic_user_feat()
File "D:\jd-master\gen_feat.py", line 46, in get_basic_user_feat
user = pickle.load(open(dump_path))
TypeError: a bytes-like object is required, not 'str'
把dump_path改成dump_path.encode("utf-8")也没用,一样的错误= =
The text was updated successfully, but these errors were encountered: