Push a workflow to SCALE
Once you have created and saved your workflow, you can push it to SCALE. You can then share and deploy it on the infrastructure of your choice.
- Using Ikomia CLI
- From Ikomia STUDIO
If you use our Python API, the easiest way to push your workflow to SCALE is to use the Ikomia CLI.
Prerequisites
To proceed, you must install the CLI and ensure you are logged into your Ikomia account through the CLI.
Export your workflow to JSON
To export a workflow to a JSON file, you can use the save
method
of the Workflow
class.
from ikomia.dataprocess.workflow import Workflow
# Creating a simple workflow:
wf = Workflow()
wf.add_task(name="infer_yolo_v7", auto_connect=True)
# Saving the workflow to a JSON file:
wf.save("path/to/your/workflow.json")
Use the push command
ikcli project push <ProjectName> <path/to/your/workflow.json>
You will then be able to see your workflow in the project page of SCALE.
If you use Ikomia STUDIO, you can push your workflow to SCALE directly from the application:
- Make sure you are logged in to your Ikomia account.
- In the workflow panel, click on the icon on the left
- Edit the workflow name and description (plain text or markdown) if needed
- Select an existing project or create a new one
- Click "OK"
Your workflow will then be pushed to SCALE and you will be able to see it in the project page of SCALE.