Skip to content
Back to skills

Tf Unet

ASecurity

"Build, train, and inspect tf_unet TensorFlow 1.x

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
datapythonbash

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Tf Unet?

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

Security grade badge for Tf Unet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-tf-unet/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-tf-unet)

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: tf-unet
description: "Build, train, and inspect tf_unet TensorFlow 1.x
  image-segmentation workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# tf_unet

Use this skill when the task names `tf_unet`, `tf-unet`, TensorFlow U-Net, image segmentation with this package, or the bundled toy/demo launchers.

This is a legacy TensorFlow 1.x package. Keep `tf.Session`, `tf.placeholder`, and `tf.reset_default_graph` in mind. Read `references/installation-and-compatibility.md` before changing environments.

## Quick start

1. Run `scripts/check_tf_unet_env.py` to confirm the install, TensorFlow 1.x import, and a tiny model build.
2. Read `references/troubleshooting.md` when import errors, protobuf mismatches, or shape problems show up.
3. Route to a sub-skill:
   - `sub-skills/training-and-inference/SKILL.md` for `Unet`, `Trainer`, losses, save/restore, prediction, and visualization.
   - `sub-skills/data-providers-and-launchers/SKILL.md` for `BaseDataProvider`, `ImageDataProvider`, `GrayScaleDataProvider`, `RgbDataProvider`, and launcher notebooks/scripts.
4. Use `references/repo-provenance.md` to compare this skill with the source snapshot.

## Installation

A compatible baseline is Python 3.7 plus TensorFlow 1.15.5 and protobuf 3.20.3. Add `click`, `Pillow`, `matplotlib`, `scipy`, and `h5py` when you need the launcher workflows. Install the distribution that exposes `tf_unet` in your environment, then run the root smoke helper.

```bash
python -m pip install tensorflow==1.15.5 protobuf==3.20.3 click Pillow matplotlib scipy h5py
python scripts/check_tf_unet_env.py
```

## What this skill covers

- Toy circle segmentation and generic image-segmentation experiments.
- Checkpoint creation, restore, prediction, and output image composition.
- TIFF/HDF5/NumPy data-provider patterns and the bundled launcher workflows.
- Safe inspection only; do not assume the original checkout is available at runtime.

## Routing cues

- A request about the network graph, optimizer, loss, or prediction output belongs in `training-and-inference`.
- A request about image files, one-hot labels, HDF5 chunks, or dataset-specific launcher patterns belongs in `data-providers-and-launchers`.
- A request about install or runtime compatibility belongs in the root references.
- A request about docs/build automation or binder bootstrap is out of scope unless it is needed to explain a user-facing workflow.

## Bundled references

- `references/installation-and-compatibility.md` — read for package/dependency versions, Python guidance, and the protobuf pin that keeps TF 1.15.x importable.
- `references/troubleshooting.md` — read for TensorFlow 1.x, shape, file layout, and launcher pitfalls.
- `references/repo-provenance.md` — read to compare this skill with the source snapshot.
- `references/repo-routing-metadata.json` — consumed by the repo-skills router during import.

## Bundled scripts

- `scripts/check_tf_unet_env.py` — run when you need a tiny import/build/save/restore smoke before touching a workflow.
- `sub-skills/training-and-inference/scripts/smoke_train_restore.py` — run when you need a tiny training/predict smoke tied to the model graph.
- `sub-skills/data-providers-and-launchers/scripts/smoke_data_providers.py` — run when you need to validate provider shapes and image/mask pairing on synthetic fixtures.

## Common safety notes

- Keep training smoke tiny; this package was validated with a small synthetic model, not a long training job.
- Do not tell future agents to run original repo notebooks or scripts from the source checkout. If a workflow matters, use the bundled references and scripts in this skill tree.
- Treat external datasets as optional evidence, not as runtime dependencies.

Files in this skill

  • SKILL.md3.7 KB
  • references/installation-and-compatibility.md2.3 KB
  • references/repo-provenance.md890 B
  • references/repo-routing-metadata.json316 B
  • references/troubleshooting.md2 KB
  • scripts/check_tf_unet_env.py2.1 KB
  • sub-skills/data-providers-and-launchers/SKILL.md2.9 KB
  • sub-skills/data-providers-and-launchers/references/data-formats.md2.8 KB
  • sub-skills/data-providers-and-launchers/references/troubleshooting.md1.7 KB
  • sub-skills/data-providers-and-launchers/references/workflows.md1.7 KB
  • sub-skills/data-providers-and-launchers/scripts/smoke_data_providers.py2.9 KB
  • sub-skills/training-and-inference/SKILL.md2.9 KB
  • sub-skills/training-and-inference/references/api-reference.md4 KB
  • sub-skills/training-and-inference/references/troubleshooting.md1.5 KB
  • sub-skills/training-and-inference/references/workflows.md2.2 KB
  • sub-skills/training-and-inference/scripts/smoke_train_restore.py3.3 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.