Skip to content
Back to skills

Translation

ASecurity

"Operate TLLib image/domain translation and style-transfer

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill translation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Translation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Translation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-translation-698f375e/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-translation-698f375e)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: translation
description: "Operate TLLib image/domain translation and style-transfer
  components: CycleGAN, FDA, CyCADA, and SPGAN."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Translation Sub-skill

Use this sub-skill when a task involves TLLib image/domain translation or style transfer components rather than classifier-only adaptation: CycleGAN generators/discriminators/losses, the `Translation` transform, FDA/Fourier amplitude transfer, CyCADA semantic consistency, or SPGAN Siamese/contrastive components.

## Route first

- Need unsupervised or supervised domain adaptation training after translated images/features exist? Route to [`../domain-adaptation/SKILL.md`](../domain-adaptation/SKILL.md).
- Need image-list formats, dataset roots, segmentation/re-id/detection dataset conventions, transforms, model factories, or metrics? Route to [`../vision-data-models/SKILL.md`](../vision-data-models/SKILL.md).
- Need only component API signatures, tensor shapes, and checkpoint-safe loading? Use [`references/api-reference.md`](references/api-reference.md).
- Need a safe workflow for choosing CycleGAN vs FDA vs CyCADA vs SPGAN? Use [`references/translation-workflows.md`](references/translation-workflows.md).
- Need to debug amplitude caches, PIL/tensor ranges, generator checkpoints, full-training side effects, or GPU/data requirements? Use [`references/troubleshooting.md`](references/troubleshooting.md).

## Safe operating sequence

1. Confirm `tllib` imports successfully in an environment compatible with TLLib 0.4-era PyTorch/TorchVision.
2. Run the bundled component smoke before editing a user workflow:

   ```bash
   python scripts/tllib_translation_smoke.py
   ```

   It uses tiny synthetic tensors/images, creates only temporary files, and does not download data.
3. Choose the smallest translation mechanism:
   - FDA for lightweight target-style amplitude transfer, especially segmentation preprocessing.
   - CycleGAN `Translation` for applying an already trained generator to PIL images or dataset items.
   - CyCADA `SemanticConsistency` when semantic labels/predictions must constrain image translation.
   - SPGAN Siamese/contrastive pieces when preserving person re-id identity similarity matters.
4. Keep benchmark-scale CycleGAN/FDA/SPGAN training as optional, data/GPU-heavy work. Do not imply it was verified by the smoke script.

## What this sub-skill does not claim

- It does not provide dataset download instructions or benchmark reproduction guarantees.
- It does not validate Detectron2/MMCV object-detection stacks, segmentation datasets, re-id datasets, or CUDA training throughput.
- It does not require opening the original repository examples at runtime; the references here are self-contained distilled usage notes.

Files in this skill

  • SKILL.md2.8 KB
  • references/api-reference.md9.4 KB
  • references/translation-workflows.md5.6 KB
  • references/troubleshooting.md3.8 KB
  • scripts/tllib_translation_smoke.py5.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…