Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Guides Attention-Gated Networks PyTorch medical imaging workflows for ultrasound classification, attention-gated U-Net segmentation, data layout, CUDA setup, and visualization helpers.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Use this repo skill when a task involves the Attention-Gated-Networks PyTorch
repository or its medical imaging workflows: ultrasound scan-plane
classification, Sononet Grid Attention, Attention U-Net style segmentation,
NIfTI/HDF5 data layouts, CUDA setup, and attention or feature-map visualization.
| User request | Read |
|---|---|
| Train, test, debug, or configure ultrasound scan-plane classification | classification |
| Use Sononet, Sononet2, Sononet Grid Attention, aggregated classifier, or attention overlays | classification |
| Arrange ultrasound HDF5 splits, labels, class weights, or samplers | classification data layout |
| Train, validate, or configure 2D/3D U-Net segmentation models | segmentation |
| Use CT deep supervision, multi-attention U-Net, non-local blocks, or NIfTI outputs | segmentation |
| Export 3D attention maps, feature maps, NIfTI predictions, or validation metrics | segmentation workflows |
| Diagnose shared install, CUDA, dependency, or config issues | troubleshooting |
After installing the repository and dependencies, run:
python scripts/check_env.py --repo-root /path/to/Attention-Gated-Networks --mode all
If the package is installed and importable without a checkout on sys.path, the
helper can still run from any working directory; --repo-root is only needed to
point at a local checkout during development or editable installs.
Successful output should include import success, CUDA availability, a tiny
classification output, an attention-classifier output, a tiny segmentation
output, and check-env-ok.
The helpers require the repository checkout on --repo-root (or an installed
AttentionGatedNetworks package) plus the legacy runtime dependencies listed in
package-overview.md. Datasets and trained
weights/checkpoints are external inputs; this skill does not fabricate or
bundle them. Stock configs contain private historical /vol/... paths and must
be copied with data_path.* and output/checkpoint paths overridden.
For a config supplied as a relative path, always pass --repo-root; the helper
resolves the config from that root and any relative data path from the config's
parent, never from the process cwd. Validate before running:
python scripts/check_env.py --repo-root /path/to/Attention-Gated-Networks \
--config configs/config_sononet_grid_att_8.json --mode imports
This intentionally fails fast on private or missing data paths. The original
train_classifaction.py also contains a 10-hour final-epoch sleep; it is left
untouched as source evidence, while the bundled runner omits that hold.
AttentionGatedNetworks version 1.0.models, dataio, utils..cuda() for models and tensors.scripts/check_env.py: import, CUDA, classification, attention-classifier,
and segmentation smoke checks.sub-skills/classification/scripts/run_classifier.py: training/testing
replacement for classification workflows.sub-skills/classification/scripts/export_attention_overlay.py: safe
attention overlay export for grid-attention classifiers.sub-skills/segmentation/scripts/run_segmentation.py: training replacement
for segmentation workflows.sub-skills/segmentation/scripts/validate_and_export_maps.py: validation,
NIfTI export, and feature/attention-map helper.Do not use this skill for unrelated modern MONAI/nnU-Net/TorchIO workflows unless the task explicitly names Attention-Gated Networks or needs to port ideas from this repository. Do not use it as proof that CPU-only execution works; the selected repo workflows were verified as CUDA-required.
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.