Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload dataset #217

Open
aj148 opened this issue Mar 7, 2024 · 5 comments
Open

Upload dataset #217

aj148 opened this issue Mar 7, 2024 · 5 comments
Assignees

Comments

@aj148
Copy link

aj148 commented Mar 7, 2024

When uploading according to this doc, I had some trouble

According to the form file upload format (Content-Type: multipart/form-data), use the PUT method to request the upload address to directly upload the compressed package to the object storage service;

Can you give an idea of how this requests looks like?

also for step 4, how do you know what the dataset id should be?

@jaggerwang
Copy link
Contributor

You can using a s3 compatible client sdk (recommend minio) to construct this request, as we use minio as the object storage service. As the dataset id, you can create a new dataset, or query an existing one to get the id.

@aj148
Copy link
Author

aj148 commented Mar 7, 2024

do we have a bucket that exits already within xtreme1? also this looks different than what the sdk has for import

@jaggerwang
Copy link
Contributor

Sorry, it's different to upload with minio sdk. We have already and an example for uploading through presigend url in the api doc, https://apifox.com/apidoc/shared-2f8468c3-a269-4e3d-9df7-c589bda69450/api-153037674 .
image

@VeeranjaneyuluToka
Copy link

Hi, Is there away to annotate without uploading the dataset? I mean i wanted to have local copy (in my host machine) and annotate without uploading at all.

@jaggerwang
Copy link
Contributor

It is currently not supported, and the dataset management is also part of the Xtreme1 function. What you expect is a pure tool. However, because Xtreme1 is privately deployed in your local machine, so there is no data security problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants