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
I encountered an error while running the import_coco_datagym.py script from the datagym-core package using Version: 0.7.2, Python 3.8.10. The error is related to JSON decoding and occurs during the execution of the script.
Steps to Reproduce
Run the import_coco_datagym.py script with the following command:
After running the localhost and obtaining the user token.
Traceback (most recent call last):
File "datagym-core/import_coco_datagym.py", line 10, in<module>
dummy_project = client.get_project_by_name(project_name="Dummy_Project")
File "/home/pc-ws/.local/lib/python3.8/site-packages/datagym/client.py", line 192, in get_project_by_name
projects = self.get_projects()
File "/home/pc-ws/.local/lib/python3.8/site-packages/datagym/client.py", line 176, in get_projects
projects = self._get_projects_without_images()
File "/home/pc-ws/.local/lib/python3.8/site-packages/datagym/client.py", line 165, in _get_projects_without_images
if self._response_valid(response):
File "/home/pc-ws/.local/lib/python3.8/site-packages/datagym/client.py", line 129, in _response_valid
elif json.loads(response.content)["key"] in WARNING_KEYS:
File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 5 (char 4)
The text was updated successfully, but these errors were encountered:
Thanks for the amazing tool 💯
Issue Description
I encountered an error while running the
import_coco_datagym.py
script from thedatagym-core
package using Version: 0.7.2, Python 3.8.10. The error is related to JSON decoding and occurs during the execution of the script.Steps to Reproduce
import_coco_datagym.py
script with the following command:Error Message
After running the localhost and obtaining the user token.
The text was updated successfully, but these errors were encountered: