计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
keras-tuner【效率与协作】Routes KerasTuner workflows for defining hyperparameter spaces, running search algorithms, tuning image and scikit-learn models, and coordinating distributed chief/worker search state.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the task mentions keras_tuner, KerasTuner, HyperParameters, HyperModel, Oracle, Tuner, RandomSearch, GridSearch, Hyperband, BayesianOptimization, SklearnTuner, HyperResNet, HyperXception, HyperEfficientNet, HyperImageAugment, or distributed KERASTUNER_* search state.
HyperParameters and HyperModel.SklearnTuner.For a normal CPU-backed KerasTuner install:
python -m pip install "keras-tuner[tensorflow-cpu]" tensorboard
For Bayesian optimization or scikit-learn tuning, add the optional backend package set:
python -m pip install "keras-tuner[tensorflow-cpu,bayesian]" tensorboard
If you are using a GPU TensorFlow environment, swap tensorflow-cpu for tensorflow.
For editable development from a source checkout, run this from the checkout
root that contains setup.py; the generated skill directory is documentation
and is not itself an installable checkout:
python -m pip install -e ".[tensorflow-cpu,bayesian]" tensorboard
Minimal check:
python -c "import keras_tuner; from keras_tuner.backend import config; print(keras_tuner.__version__, config.backend())"
Run scripts/check_env.py when you want a slightly richer import and backend sanity check.
sub-skills/tuning/SKILL.md for generic hyperparameter search, custom HyperModel classes, Oracle/Tuner subclassing, trial inspection, and reload/resume workflows.sub-skills/image-hypermodels/SKILL.md for HyperResNet, HyperXception, HyperEfficientNet, and HyperImageAugment.sub-skills/sklearn-tuning/SKILL.md for SklearnTuner, estimator factories, cross-validation, sample weights, and pickle-backed model saving.sub-skills/distributed-tuning/SKILL.md for KERASTUNER_ORACLE_IP, KERASTUNER_ORACLE_PORT, KERASTUNER_TUNER_ID, and local chief/worker coordination.references/api-reference.md for verified signatures and class responsibilities.references/workflows.md for end-to-end tuning patterns.references/troubleshooting.md for install/import, optional dependency, and search failures.references/repo-provenance.md before deciding whether this skill matches the current checkout.keras_tuner.backend.config.backend() to check the active backend, not keras_tuner.backend.backend.bayesian dependency set.tensorboard even when you do not pass a TensorBoard callback.HyperEfficientNet can also trigger a first-run Keras Applications weight download.SKILL.md); from another cwd, use the corresponding absolute path.If you only need to confirm the install, backend, and public exports, run:
python scripts/check_env.py
If you need a workflow-specific smoke check, run the helper from the skill
root, using its full bundle-relative path, such as
python sub-skills/tuning/scripts/smoke_search.py.