技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
tensorlayer【数据与研究】Routes TensorLayer model-building, data utilities, vision, text, reinforcement learning, and training workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when the user wants to work with the TensorLayer package and does not need to open the original checkout again. TensorLayer is a TensorFlow-based deep learning library, so the normal path is to install TensorFlow 2.x, install TensorLayer, and then route to the sub-skill that matches the workflow.
pip install -e ..matplotlib and opencv-python.tensorlayer.nlp.process_sentence, add nltk.imageio, progressbar2, scikit-image, scipy, wrapt, h5py, and cloudpickle.Start with:
python -I -c "import tensorlayer as tl; print(tl.__version__)"
If the package import fails because the app/vision modules are missing, install the optional visualization stack and try again. For CLI help, make sure CUDA_VISIBLE_DEVICES is not set to an empty string; the current tl parser crashes on that case.
sub-skills/core-modeling/ — layers, models, save/load, pretrained constructors, activations, costs, initializers, optimizers.sub-skills/data-and-utilities/ — file helpers, dataset loaders, preprocessing, iteration, visualization, TFRecord and tiny data round-trips.sub-skills/training-and-cli/ — tl.utils.fit/test/predict, tl train, distributed-training setup, and training-loop patterns.sub-skills/vision-and-apps/ — pretrained CNNs, object-detection and pose wrappers, spatial transformer workflows, quantized vision examples.sub-skills/text-and-sequence/ — NLP helpers, word embedding, PTB/text generation, seq2seq workflows.sub-skills/reinforcement-learning/ — reward utilities and RL tutorial patterns.references/repo-provenance.md before deciding whether this skill matches the current checkout.references/api-overview.md when you need the package-wide module map or the verified live API notes.references/troubleshooting.md when imports, CLI help, optional dependencies, or backend warnings fail.scripts/check_import.py — verify package importability and run a tiny model smoke test.scripts/check_cli_help.py — verify the tl CLI help without triggering the empty-CUDA_VISIBLE_DEVICES bug.Choose the sub-skill by the user's natural request:
core-modeling.data-and-utilities.tl train, go to training-and-cli.vision-and-apps.text-and-sequence.reinforcement-learning.When a workflow spans more than one area, start with the most specific sub-skill and use the cross-links in its references.