GithubHelp home page GithubHelp logo

scaleapi / scaleapi-python-client Goto Github PK

View Code? Open in Web Editor NEW
58.0 58.0 30.0 660 KB

The official Python SDK for Scale API, the Data Platform for AI

Home Page: https://www.scale.com

License: Apache License 2.0

Python 97.47% Shell 2.53%

scaleapi-python-client's People

Contributors

agrimasthana-cs avatar alejandro-gonzalez-scale avatar alexandr avatar alexandrwang avatar andrewhubbs avatar artliou-scale avatar cjfuller avatar clhuang avatar dan-scale avatar dmchoiboi avatar edwardpark97 avatar fatihkurtoglu avatar felixlaumon avatar fernandolopez85 avatar glasperfan avatar ivan-scale avatar james-lennon avatar jean-lucas avatar jonathanfeng-scale avatar kevin-xu-scale avatar nathanielherman avatar nisseknudsen avatar nofel-scale avatar rodsca avatar royscale avatar shariq avatar shaun-scale avatar thetonywu avatar tigss avatar xiaohua-scale 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  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

scaleapi-python-client's Issues

Issue with deployment endpoints on ScaleAI

When I use scaleAI's deployment endpoint, if the generated text doesnt get sent back within ~30s, I get an error about a 504 error.

If the response comes back quickly, I dont.

This makes it very difficult to use for long text generation from GPTx's. Setting timeout in my request to 5mins does not change it, so I think its on Scale's end

Mapping attachement to S3 Download URL

I forgot to add the metadata of the filename while annotating my images, however, in the API it looks like there's no way to download the original image. All we get is the metadata of this form (Shown below), is there a way to convert it to a downloadable URL?

scaledata://61deda042221460099995568/e8cc0ceb-991e-45e8-9a5b-88827143da40

checking task.customer_review_status for non-reviewed images throws an expcetion

When downloading annotated tasks, I want to fetch only ones with accepted customer review status. Currently, this property will be added to the response payload only when the image is reviewed. However Task.py throws an exception because of how __getattr__ method is implemented. Ideally, it should return "nonspecified" or just empty string "" indicating there is not customer review yet.

Aside, I suggest avoiding this confusion at all by doing filtering on server side by updating list all tasks api to provide a filter based on customer_review_status

Hypothesis Format for SegmentAnnotation task

I wanted to check the correct format for the hypothesis for a task. I checked the API documentation and couldn't find the right reference for it. Should it be an image that has pixel values as labels for the task? or should it be something else?

client.get_batches() missing query parameters

The current supported optional parameters for the function get_batches() are project_name, batch_status, created_after and created_before. However the API documentation shows more optional query params like audited_after, limit, offset, etc.
Will the method be supporting these parameters in the future?

TaskReviewStatus Enum is missing state "skipped"

Hi,

I noticed that the TaskReviewStatus enum (defined here) is missing the state skipped.

However, this may happen during auditing, namely tasks can be skipped and the status will be skipped in the resulting json.

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.