Giter Club home page Giter Club logo

datagym-core's People

Contributors

dacbreakpoint avatar milimabwana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

datagym-core's Issues

[FR] Webhooks

Could the annotation server emit webhooks for certain events that external services can subscribe to? In particular I'd be interested in

  • Annotation created
  • Annotation updated
  • Annotation deleted

need help

May I ask if there is a fee for me to use the collaboration feature? And why can't my account management page open? The following error is displayed:
image

Cant get project using the python api

Thanks for the amazing tool ๐Ÿ’ฏ

Issue Description

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

  1. Run the import_coco_datagym.py script with the following command:
from datagym import Client

client = Client(api_key="d676b704-079f-4384-ae3f-XXXXX")

# projects = client.get_projects()
dummy_project = client.get_project_by_name(project_name="Dummy_Project")

Error Message

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.