Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Route BiRefNet image segmentation, matting, inference, configuration, training, evaluation, and model-export workflows.
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
Use this skill when a task involves BiRefNet / BiRefNet-style high-resolution binary image segmentation, background removal, dichotomous image segmentation, camouflaged object detection, salient object detection, or trimap-free matting.
BiRefNet is a source-code-first PyTorch repository plus Hugging Face model-family workflow. Prefer self-contained instructions and bundled helpers here instead of reopening the original repository notebooks or shell scripts.
Minimal source-code inspection check for a checkout:
python scripts/check_birefnet_environment.py --repo-root /path/to/BiRefNet --check-source
Minimal dependency-only check:
python scripts/check_birefnet_environment.py
Config, tasks/testsets, dataset roots, im/gt layout, dynamic size, loss/backbone knobs, or preflight data validation.BiRefNet, backbones, decoder flags, checkpoint key cleanup, weight compatibility, Hugging Face loading choices, or ONNX/export planning.train.py/launcher semantics, checkpoints/resume epochs, metrics, eval_existingOnes.py, or best-epoch selection.| User asks for... | Go to |
|---|---|
| "How do I format custom data for BiRefNet?" | configuration-and-data |
| "Which config fields change task, backbone, size, or losses?" | configuration-and-data plus model-architecture |
| "Load a BiRefNet checkpoint or fix state-dict key mismatches" | model-architecture |
| "Run background removal on images or save masks/foregrounds" | inference-and-postprocessing |
| "Process videos with BiRefNet" | inference-and-postprocessing |
| "Fine-tune from existing weights" | training-and-evaluation plus configuration-and-data |
| "Evaluate predictions or choose the best epoch" | training-and-evaluation |
| "Convert to ONNX or plan deployment" | model-architecture with inference constraints from inference-and-postprocessing |
Use these bundled scripts before recommending expensive work:
scripts/check_birefnet_environment.py --check-source --repo-root <checkout> checks dependencies, source imports, torch backend visibility, state-dict prefix cleanup, and patch helpers.sub-skills/configuration-and-data/scripts/birefnet_dataset_check.py checks custom dataset im/gt pairing without training.sub-skills/model-architecture/scripts/birefnet_model_probe.py verifies checkpoint-prefix cleanup and can instantiate BiRefNet(bb_pretrained=False) when memory is acceptable.sub-skills/inference-and-postprocessing/scripts/birefnet_image_infer.py --dry-run plans image mask outputs without loading model weights.sub-skills/training-and-evaluation/scripts/birefnet_metric_smoke.py verifies metric dependencies with tiny masks.Do not use this skill as the primary guide for SAM, YOLO, Detectron2, MMSegmentation, or another segmentation package unless the user is specifically comparing those tools to BiRefNet. Do not use it for generic PyTorch training advice that does not involve BiRefNet config, checkpoints, data layout, or metrics. Use a deployment-specific skill when the user asks primarily about TensorRT, GGUF, web APIs, or a third-party serving platform rather than BiRefNet itself.
pip install -r requirements.txt with PyTorch >= 2.5.0.AutoModelForImageSegmentation.from_pretrained(..., trust_remote_code=True) path requires transformers, which is not listed in the repository requirements file.--repo-root for the user's current BiRefNet checkout or use a Hugging Face model path; never depend on the checkout that produced this skill.No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.
The English summary is being prepared. Showing the original description.
Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.
The English summary is being prepared. Showing the original description.
Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.
The English summary is being prepared. Showing the original description.
Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.
The English summary is being prepared. Showing the original description.
Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.
The English summary is being prepared. Showing the original description.