self / torch / none
General SOP for common requests related to self, torch, none.
Prompt
Follow this SOP (replace specifics with placeholders like //):
- 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.