id: "e0b6db48-8f6e-4669-b07b-08157a6c670f" name: "self / torch / none" description: "General SOP for common requests related to self, torch, none." version: "0.1.0" tags:
- "self"
- "torch"
- "none" triggers:
- "Use when the user asks for a process or checklist."
- "Use when you want to reuse a previously mentioned method/SOP." examples:
- input: "Break this into best-practice, executable steps."
self / torch / none
General SOP for common requests related to self, torch, none.
Prompt
Follow this SOP (replace specifics with placeholders like <PROJECT>/<ENV>/<VERSION>):
- from . import BaseActor
- from lib.utils.misc import NestedTensor
- from lib.utils.box_ops import box_cxcywh_to_xyxy, box_xywh_to_xyxy
- import torch
- from lib.utils.merge import merge_template_search
- from ...utils.heapmap_utils import generate_heatmap
- from ...utils.ce_utils import generate_mask_cond, adjust_keep_rate
- class CEUTrackActor(BaseActor
- Actor for training CEUTrack models
- def init(self, net, objective, loss_weight, settings, cfg=None
For each step, include: action, checks, and failure rollback/fallback plan. Output format: for each step number, provide status/result and what to do next.
Triggers
- Use when the user asks for a process or checklist.
- Use when you want to reuse a previously mentioned method/SOP.
Examples
Example 1
Input:
Break this into best-practice, executable steps.