NeuroTechX / moabb

Mother of All BCI Benchmarks
https://neurotechx.github.io/moabb/
BSD 3-Clause "New" or "Revised" License
646 stars 168 forks source link

Add scripts to publish results on PaperWithCode #561

Open PierreGtch opened 2 months ago

PierreGtch commented 2 months ago

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 commented 21 hours ago

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

Ready to review/merge