Upload only¶
Send your zip and store it safely, without grading it yet. Nothing is graded and nothing is charged until you run Grade an upload. This is the first half of the Upload, then grade sample on the dashboard's API tab.
upload_only.py
# upload_only.py - send a zip now, grade it later
import os
from centific import PhysicalAI
client = PhysicalAI(
api_key = os.environ["CENTIFIC_API_KEY"],
base_url = "https://humanoidiq-dev.centific.com",
)
up = client.qc.upload(
dataset = "./batch_0001.zip", # <- change this
data_type = "egocentric", # <- change this
task = "Folding laundry and placing it on a bed", # <- change this
)
print("job id:", up.id) # keep it - you need it to grade
print("status:", up.status) # 'uploaded' = stored, not grading yet
How to use it¶
Edit the three marked lines, then run:
Copy the job id it prints. You need it for the next step.
Sample output¶
uploaded batch_0001.zip: 202.5 MiB in 62s (3.2 MiB/s)
job id: qcjob_yLrQuj9XZ2LxIBbVN6f8S2
status: uploaded
The job stays at uploaded until you grade it
That's by design, not a stuck job. Grade it within 24 hours. An upload that is never graded is removed after that and costs nothing.