{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "wasserth-totalsegmentator--list-totalsegmentator-tasks-and-classes-for-a-script",
 "repo": "wasserth/TotalSegmentator",
 "repo_url": "https://github.com/wasserth/TotalSegmentator",
 "repo_slug": "wasserth-totalsegmentator",
 "title": "Find the right task and class names before you run",
 "page_title": "How to find the right task and class names before you run with Total Segmentator",
 "summary": "Use totalseg_info to print the available tasks and their classes without downloading weights.",
 "who": "A developer or coding agent wiring Total Segmentator into a pipeline.",
 "problem": "Guessing task and class names wastes whole GPU runs.",
 "outcome": "An exact list of tasks and class names, as a table or as JSON.",
 "steps": [
  "Install it with `pip install TotalSegmentator`",
  "Run `totalseg_info --list-tasks` for a table of tasks with modality, license and number of classes",
  "Run `totalseg_info --classes -ta total` to see the class index to name mapping for one task",
  "Run `totalseg_info --json` to get the full capability registry as JSON for your script"
 ],
 "agent_prompt": "Using wasserth/TotalSegmentator, run `totalseg_info --json` and write me a small Python helper that picks the right task and `--roi_subset` names for <the structures I care about>.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "Some subtasks need a license number set with totalseg_set_license, which is free for non-commercial use.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "",
 "requirements": [
  "Python 3.10 or newer and PyTorch 2.0.0 or newer",
  "A Nifti file, or a folder or zip of all DICOM slices of one patient, as input",
  "A GPU for reasonable runtime; CPU works with the --fast or --roi_subset options",
  "A free non-commercial license number for the non-open tasks and for totalseg_get_body_stats"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/wasserth-totalsegmentator/list-totalsegmentator-tasks-and-classes-for-a-script/",
 "md": "https://dedupedai.com/use-cases/wasserth-totalsegmentator/list-totalsegmentator-tasks-and-classes-for-a-script/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/wasserth-totalsegmentator--list-totalsegmentator-tasks-and-classes-for-a-script.json",
 "api_version": "v1"
}
