Why is below erroes happened? for the record,I can upload the submission.csv direct using the upload button, so the file should be ok,but using the code get below erroes
,code is from:https://www.kaggle.com/carlolepelaars/how-to-get-started-with-numerai
You already have the newest data! Current round is: 232
232
2020-10-10 15:27:06,659 INFO numerapi.base_api: uploading predictions…
2020-10-10 15:29:11,151 ERROR numerapi.base_api: invalid tournament
Traceback (most recent call last):
File “D:/PycharmProjects/numerai/upload.py”, line 97, in
napi.upload_predictions(“submission.csv”, tournament=tournament)
File “D:\Program_Files\Anaconda3\lib\site-packages\numerapi\numerapi.py”, line 960, in upload_predictions
create = self.raw_query(create_query, arguments, authorization=True)
File “D:\Program_Files\Anaconda3\lib\site-packages\numerapi\base_api.py”, line 125, in raw_query
raise ValueError(err)
ValueError: invalid tournament