Skip to content
cccskills
FreePublished on GitHub

deep-danbooru

Use DeepDanbooru for anime-style image tag estimation, project and Danbooru-style dataset preparation, TensorFlow training, image evaluation, TFLite conversion, and experimental Grad-CAM workflows.

The English summary is being prepared. Showing the original description.

See how to install

Files included (38)

  • SKILL.md4.2 KB
  • references/install-and-cli.md2.8 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json332 B
  • references/troubleshooting.md3.6 KB
  • scripts/environment_smoke.py2.4 KB
  • sub-skills/inference-evaluation/references/api-reference.md5.9 KB
  • sub-skills/inference-evaluation/references/cli-reference.md4.6 KB
  • sub-skills/inference-evaluation/references/image-inputs-and-tags.md4.3 KB
  • sub-skills/inference-evaluation/references/troubleshooting.md7.3 KB
  • sub-skills/inference-evaluation/scripts/dummy_evaluate_smoke.py1.7 KB
  • sub-skills/inference-evaluation/scripts/evaluate_project_smoke.py3.4 KB
  • sub-skills/inference-evaluation/scripts/image_preprocess_smoke.py1.9 KB
  • sub-skills/inference-evaluation/scripts/save_txt_guard.py2.3 KB
  • sub-skills/inference-evaluation/SKILL.md5.1 KB
  • sub-skills/model-training/references/model-and-loss-reference.md5.5 KB
  • sub-skills/model-training/references/training-data-pipeline.md5.4 KB
  • sub-skills/model-training/references/training-workflows.md5.9 KB
  • sub-skills/model-training/references/troubleshooting.md7.1 KB
  • sub-skills/model-training/scripts/training_preflight.py17.9 KB
  • sub-skills/model-training/scripts/validate_project_config.py11.7 KB
  • sub-skills/model-training/SKILL.md7.3 KB
  • sub-skills/post-training-tools/references/grad-cam-workflow.md4.1 KB
  • sub-skills/post-training-tools/references/tflite-conversion.md4.9 KB
  • sub-skills/post-training-tools/references/troubleshooting.md4.9 KB
  • sub-skills/post-training-tools/scripts/post_training_preflight.py5.2 KB
  • sub-skills/post-training-tools/scripts/tflite_conversion_smoke.py4.6 KB
  • sub-skills/post-training-tools/SKILL.md4.5 KB
  • sub-skills/project-data-setup/references/cli-reference.md3.2 KB
  • sub-skills/project-data-setup/references/dataset-format.md4.0 KB
  • sub-skills/project-data-setup/references/project-json-reference.md3.1 KB
  • sub-skills/project-data-setup/references/tag-download-and-tags-files.md3.8 KB
  • sub-skills/project-data-setup/references/troubleshooting.md4.1 KB
  • sub-skills/project-data-setup/scripts/create_project_probe.py3.5 KB
  • sub-skills/project-data-setup/scripts/make_tiny_danbooru_sqlite.py4.4 KB
  • sub-skills/project-data-setup/scripts/validate_danbooru_sqlite.py7.9 KB
  • sub-skills/project-data-setup/scripts/validate_tags_txt.py3.8 KB
  • sub-skills/project-data-setup/SKILL.md6.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

DeepDanbooru

Use this repo skill when a task names DeepDanbooru or deepdanbooru, asks for anime-style multi-label image tagging, or needs the package's project, dataset, training, evaluation, TensorFlow Lite, or Grad-CAM workflows. This skill covers the 1.0.0 source contract represented by the provenance snapshot; read it before refreshing against a changed checkout.

Route by task

  • Project, tags, or dataset layout: read project-data-setup. It owns create-project, download-tags, make-training-database, project.json, tags.txt, SQLite posts, and images/<prefix>/ validation.
  • Training or checkpoint recovery: read model-training. It owns config validation, supported ResNet/optimizer/loss values, data preflight, train-project, checkpoints, and .keras exports.
  • Tag inference or evaluation: read inference-evaluation. It owns evaluate, evaluate-project, Python inference APIs, preprocessing, thresholds, recursive folders, and .txt sidecars.
  • Export or attribution artifacts: read post-training-tools. It owns conv2tflite, TFLite checks, and experimental grad-cam output.

Use the owning sub-skill rather than trying to make the root a full API manual. The root references below contain cross-cutting install, CLI, and failure information.

Install and verify

The source package declares a base install plus a TensorFlow extra. For the repository's documented full workflow, install the TensorFlow requirements in a fresh compatible Python environment:

python -m pip install "deepdanbooru[tensorflow]"
# Or, when the distribution's published requirements file is available:
python -m pip install -r requirements.txt

The package imports TensorFlow and TensorFlow I/O through its public module and CLI paths. Do not call a CPU import proof of CUDA readiness. Start with the bundled no-download diagnostic:

python scripts/environment_smoke.py
python -m deepdanbooru --help
python -m deepdanbooru evaluate --help

The console entry point is deepdanbooru. CPU TensorFlow is the verified correctness backend for this skill. evaluate is CPU-first unless --allow-gpu is explicitly supplied; this source snapshot did not verify GPU libraries or GPU performance.

Operating boundaries

  • Do not download Danbooru tags, model weights, or datasets without explicit network/credential approval. The bundled scripts are offline and safe by default.
  • Do not launch full training as a smoke test. Validate the project, tags, SQLite schema, image paths, and package imports first; training is expensive and writes checkpoints/exports.
  • Treat the known 1.0.0 evaluate-project loader defect as real: its native route calls the absent dd.data.load_tags_from_project symbol. For production folder inference, use evaluate --project-path ... --allow-folder, which uses the available project tag loader. The bundled project smoke helper exercises that fallback and does not claim an unverified native run.
  • The native evaluate --save-txt path can fail for an empty selected-tag list and overwrites an existing sibling sidecar with w. Use the skill helper sub-skills/inference-evaluation/scripts/save_txt_guard.py when sidecar output needs a local safety boundary: it rejects empty selections and sibling directories, and requires an explicit flag to overwrite a regular file.
  • Read repo-provenance.md before deciding whether this graph is stale; package/source version drift remains possible.
  • Read install-and-cli.md for the full command map and dependency/version caveat.
  • Read troubleshooting.md for package-wide recovery.

Reviews

No reviews yet. Tell others what you thought.

Comments

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.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

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.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

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.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill