计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
tf-faster-rcnn【效率与协作】Route TensorFlow 1.x Faster R-CNN tasks for install/build, VOC/COCO assets, pretrained demo inference, training/evaluation, and architecture/API modification in the deprecated tf-faster-rcnn repository.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a Researcher needs task-specific operating guidance for the deprecated tf-faster-rcnn TensorFlow 1.x Faster R-CNN implementation: environment/build triage, VOC/COCO assets, pretrained demo inference, training/evaluation commands, or model/API modifications.
This skill is self-contained guidance derived from source evidence and inspection checks. It does not certify full CUDA/demo/train/test execution; those require external datasets/checkpoints and a compatible TensorFlow 1.x + native-extension stack on the user's target host.
| User task | Read |
|---|---|
Install dependencies, diagnose nvcc, CUDA, TensorFlow/protobuf, Cython extension, nms.gpu_nms, or config override failures | installation-and-configuration |
| Place/validate VOC or COCO data, demo images, pretrained checkpoint symlinks, ImageNet weights, output folders, or TensorBoard folders | dataset-and-assets |
| Plan pretrained demo inference, validate demo checkpoint path, understand VOC labels, NMS thresholds, visualization, or CPU/GPU demo caveats | inference-and-demo |
| Build dry-run train/test/reval/convert commands, choose dataset/net schedule mappings, handle snapshots/resume, TensorBoard, evaluation, and benchmark caveats | training-and-evaluation |
Inspect or modify Network, VGG/ResNet/MobileNet backbones, anchors, RPN/proposal layers, bbox transforms, image blobs, roidb/minibatch APIs | api-and-architecture |
pip install -e . fails" → root is not installable; read install/build notes.nvcc cannot be located" or "nms.gpu_nms missing" → read installation troubleshooting.--imdb name should I use?" → read data layouts.These helpers are designed to be read-only or dry-run by default:
python sub-skills/installation-and-configuration/scripts/check_environment.py --repo-root <repo-root>
python sub-skills/dataset-and-assets/scripts/validate_layout.py --repo-root <repo-root> --check demo-model
python sub-skills/inference-and-demo/scripts/demo_command_builder.py --repo-root <repo-root> --net res101 --dataset pascal_voc_0712 --validate-only
python sub-skills/training-and-evaluation/scripts/tf_faster_rcnn_command_builder.py test --dataset pascal_voc_0712 --net res101 --gpu-id 0
python sub-skills/api-and-architecture/scripts/inspect_source_api.py --repo-root <repo-root> --strict
Run them from the generated skill directory or pass the script path explicitly. They do not download data, fetch checkpoints, start TensorFlow model execution, or train/evaluate models unless a sub-skill explicitly says otherwise.
tf.Session, tf.contrib.slim, tf.py_func, tf.to_int32).setup.py/pyproject.toml; native extension setup is under lib/setup.py.lib/setup.py requires CUDAHOME or nvcc at setup import time and builds utils.cython_bbox, nms.cpu_nms, and nms.gpu_nms.cfg.USE_GPU_NMS defaults to True, and model.nms_wrapper imports both GPU and CPU NMS modules eagerly.[8,16,32] and [0.5,1,2]; source inspection verified nine anchors per location.not import.