Launch simple CVAT job
On this page you will find out how to launch simple CVAT job in order to get familiar with the process and have some e2e setup ready.
Prerequisites
Before you jump into launch process you will need to meet some prerequisites:
you need to get some POL for your JL wallet (using Amoy testent faucets); you will need it to create escrows while launching jobs
In Amoy it's recommended to have at least 1 POL to satisfy any need of JL
you need to get some HMT for your wallet (you can use our Faucet app); you will need it to fund jobs you launch
go to Job Launcher UI and create an account for Job Requester; top up you account with HMT (100 should be enough to run multiple jobs)
Launch sample CVAT job
Our repository has sample dataset images and ground truth files that allow to run image_boxes
(aka "Bounding Boxes") job in packages/examples/cvat/exchange-oracle/tests/utils/datasets
folder. In order to launch job you will need to upload necessary files to S3-compatible storage.
For local setup you can use Minio running on your machine:
open Minio UI and login as super admin
create
local-dataset
bucket and make itPublic
upload
instances_default.json
to the root of the bucketcreate
images-folder
folder in the bucket; upload images fromdatasets
folder to it
You can use your public S3 bucket for that purpose, then you will be able to use Job Launcher UI to run jobs.
Then open Job Launcher server swagger docs and follow next steps:
use
/auth/signin
to get JWT access token for your Job Requester accountauthorize swagget with that access token
go to
/job/cvat
endpoint and run it with next body
If necessary, adjust values in the request body (e.g. in case you have different paths)
Then go to Job Launcher UI where you should be able to track the job with its status.
Last updated
Was this helpful?