Skip to main content

How-To Guides

How to Create a Video Pipeline​

  1. From the Dashboard, click + New Pipeline.
  2. Enter a Pipeline Name and a valid SLURM Account.
  3. Under What will you annotate?, choose Video — segment and track through a video.
  4. Optionally add a Description.
  5. Click Create & Open.

How to Upload a Video Already on HPC​

  1. In Step 1, choose HPC storage.
  2. Select the System the video is on.
  3. Enter the full Video file path, or click the browse icon to pick it.
  4. Start the upload. The video is downloaded from Tapis, then sent to the GPU service.

How to Fix a Mask That Drifted​

  1. In the results view, scrub to the first frame where the mask is wrong.
  2. Select the object in the Objects panel and redraw its mask on that frame.
  3. Click Track again.

How to Start Over​

The Start again section offers three actions, each behind a confirmation:

  • Clear results & redo — discard the tracking results and keep your keyframes.
  • Clear all keyframes — remove every keyframe mask and rebuild from scratch.
  • New video — leave this video and upload a different one.

Start Again

How to Resume a Video Pipeline​

From the Dashboard, open the Videos tab and click Open Pipeline on the pipeline card. Your objects and keyframe masks are restored.

Note: Resume state is stored in your browser. Opening the pipeline on another device or browser starts it fresh.

How to Connect to the SAM3 Video Service​

Set these in client/.env (see client/.env.example):

VariablePurpose
SAM3_VIDEO_URLAddress of the auth gateway, or of the service itself (e.g. http://127.0.0.1:2129 through an SSH tunnel).
SAM3_VIDEO_AUTHgateway when SAM3_VIDEO_URL points at the auth gateway; none (or unset) for a direct connection.
SAM3_ENDPOINTPer-image SAM3 service used for SAM3 clicks on keyframes.
TAPIS_BASE_URLTapis tenant, used for HPC uploads and exports.
ANNOTATOR_TYPEVIDEO_SEGMENTATION for a video-only instance, SEGMENTATION for images and video together, or empty for all types.

Direct connection over SSH. If the service runs on an HPC GPU node, open a tunnel and keep it open while you work:

ssh -L 2129:localhost:2129 user@gpu-host

Leave SAM3_VIDEO_AUTH unset for a direct connection. Setting it to gateway against the bare service makes every request fail CORS.

Through the auth gateway. Point SAM3_VIDEO_URL at the gateway and set SAM3_VIDEO_AUTH=gateway. The page's origin must be in the gateway's allowed origins. Dataset export to HPC is available only in this mode.