moabb icon indicating copy to clipboard operation
moabb copied to clipboard

[WIP] Add scripts to publish results on PaperWithCode

Open PierreGtch opened this issue 10 months ago • 1 comments

PierreGtch avatar Apr 09 '24 14:04 PierreGtch

It seems that the request to upload results is correct and the only issue is with authorisation

{"error":"You don't have the privileges to update this table."}
Traceback (most recent call last):
  File "/Users/Pierre.Guetschel/Projects/moabb/scripts/paperswithcode/upload_results.py", line 154, in <module>
    upload_table(
  File "/Users/Pierre.Guetschel/Projects/moabb/scripts/paperswithcode/upload_results.py", line 96, in upload_table
    id = upload_subtable(
  File "/Users/Pierre.Guetschel/Projects/moabb/scripts/paperswithcode/upload_results.py", line 81, in upload_subtable
    leaderboard_id = client.evaluation_synchronize(r)
  File "/Users/Pierre.Guetschel/miniforge3/envs/moabb/lib/python3.10/site-packages/tea_client/handler.py", line 18, in wrapper
    return func(self, *args, **kwargs)
  File "/Users/Pierre.Guetschel/miniforge3/envs/moabb/lib/python3.10/site-packages/paperswithcode/client.py", line 1197, in evaluation_synchronize
    d = self.http.post("/rpc/evaluation-synchronize/", data=evaluation)
  File "/Users/Pierre.Guetschel/miniforge3/envs/moabb/lib/python3.10/site-packages/tea_client/http.py", line 279, in post
    return self.request(
  File "/Users/Pierre.Guetschel/miniforge3/envs/moabb/lib/python3.10/site-packages/tea_client/http.py", line 180, in request
    raise errors.HttpClientError(message, response=self.response)
tea_client.errors.HttpClientError: HttpClientError(403: Forbidden!)

PierreGtch avatar Apr 17 '24 15:04 PierreGtch

Results are uploaded :D https://paperswithcode.com/paper/the-largest-eeg-based-bci-reproducibility-1

Ready to review/merge

PierreGtch avatar Jul 04 '24 12:07 PierreGtch

Thank you @PierreGtch

bruAristimunha avatar Jul 15 '24 09:07 bruAristimunha