Giter VIP home page Giter VIP logo

docs's Introduction



GitHub GitHub release Documentation Downloads

Segments.ai is the training data platform for computer vision engineers and labeling teams. Our powerful labeling interfaces, easy-to-use management features, and extensive API integrations help you iterate quickly between data labeling, model training and failure case discovery.

Quickstart

Walk through the Python SDK quickstart.

Documentation

Please refer to the documentation for usage instructions.

Blog

Read our blog posts to learn more about the platform.

Changelog

The most notable changes in v1.0 of the Python SDK compared to v0.73 include:

  • Added Python type hints and better auto-generated docs.
  • Improved error handling: functions now raise proper exceptions.
  • New functions for managing issues and collaborators.

You can upgrade to v1.0 with pip install -—upgrade segments-ai. Please be mindful of following breaking changes:

  • The client functions now return classes instead of dicts, so you should access properties using dot-based indexing (e.g. dataset.description) instead of dict-based indexing (e.g. dataset[’description’]).
  • Functions now consistently raise exceptions, instead of sometimes silently failing with a print statement. You might want to handle these exceptions with a try-except block.
  • Some legacy fields are no longer returned: dataset.tasks, dataset.task_readme, dataset.data_type.
  • The default value of the id_increment argument in utils.export_dataset() and utils.get_semantic_bitmap() is changed from 1 to 0.
  • Python 3.6 and lower are no longer supported.

docs's People

Contributors

davyneven avatar dbbert avatar segments-arnaud avatar segments-tobias avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

arasharchor

docs's Issues

Issue with cloud integration

Hello Bert,

First of all, thank you for providing integration with cloud. It's superhelpful. I tried uploading images from my AWS S3 bucket to my segments.ai account and have 2 observations -

  1. If I submit using S3 protocol URI instead of the complete path including the aws region etc, I get the following error. It's somehow linked to the eu region rather than the us region as it's default setting perhaps?

"
AuthorizationQueryParametersError
Error parsing the X-Amz-Credential parameter; the region **'eu-**west-2' is wrong; expecting 'us-east-2'
us-east-2
JGFW7F8E1BG00VAH
U+/LbS0pNCwMVrRwjvr0n85q+qGvBCwaxJDQfyXau6qyE68U0E7LA4NPu6cswjyd5QuGeVsAqdY=
"

  1. So then I gave the full URL path with the aws region name, bucket etc. All bucket and CORS permissions were given as provided in the documentation. It then did upload the image successfully, however I get an access denied error when I try to open it in segments.io. I tried making the bucket public as well as private and keeping the bucket policies and cors permissions. But that doesn't help. Do you know why I get an access denied while opening, but it's able to upload it? is there any additional policy that may be needed on the S3 bucket? Error is below -
    "
    AccessDenied
    Access Denied
    BCXBTDBKVBADFWX3
    YdaLwhJBT2gpHHKC70dtg2NliRbYT/5QNvA238H0WoW0MWvo/u167oMmg0ST7Hs2T3VEgmBOgoU=
    "

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.