Installs mmdetection3d (with mmsegmentation dependency) on Ascend NPU containers for 3D object detection model development.
Ships in external-gitcode-ascend-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
在昇腾NPU容器中安装 mmdetection3d(3D目标检测库)
确保 mmcv 已安装:
python -c "import mmcv; print(mmcv.__version__)"
mmdet3d 依赖 mmsegmentation,根据版本选择:
推荐版本(适配 mmcv 1.7.x):
pip install mmsegmentation==0.30.0
根据网络情况选择:
服务器直连:
git clone -b v1.0.0rc4 https://github.com/open-mmlab/mmdetection3d.git
服务器网络超时:配置代理或本地克隆后scp传输
# 方案1:配置代理
export http_proxy=http://proxy:port
export https_proxy=http://proxy:port
git clone -b v1.0.0rc4 https://github.com/open-mmlab/mmdetection3d.git
# 方案2:本地克隆后传输(仍使用GitHub链接)
# 本地执行
git clone -b v1.0.0rc4 https://github.com/open-mmlab/mmdetection3d.git
scp -r mmdetection3d user@server:/target/path/
重要:始终使用GitHub官方链接,不使用镜像站点。
cd mmdetection3d
cp /path/to/DrivingSDK/model_examples/BEVFormer/mmdet3d_config.patch .
git apply --reject mmdet3d_config.patch
source /opt/conda/bin/activate <conda-env-name>
pip install -e .
python -c "import mmdet3d; print(mmdet3d.__version__)"
NPU验证:
python -c "import site; print([p for p in site.getsitepackages() if 'cuda' in p.lower()])"
# 应输出空列表
mmcv
└── mmsegmentation == 0.30.0
└── mmdet3d
向用户提问:
What SKILL.md sets; muted values are Claude Code's defaults
/external-gitcode-ascend-skills:external-gitcode-ascend-mmdet3dfrom external-gitcode-ascend-skills
npx claudepluginhub ascend-ai-coding/awesome-ascend-skills --plugin external-gitcode-ascend-skills91 skills in this plugin
/external-gitcode-ascend-analyse-coverage分析测试覆盖率盲区,生成覆盖率分析报告/external-gitcode-ascend-arxiv-recommendation-npu自动化推荐系统论文发现流水线。抓取 arxiv 推荐论文,检测源码,生成待迁移任务清单,由 npu-model-migration skill 完成 NPU 适配。/external-gitcode-ascend-ascendc-operator-code-gen根据设计文档生成 AscendC 算子完整代码实现并完成框架适配。TRIGGER when: 设计文档已完成,需要生成 op_host/op_kernel 代码、注册到 PyTorch 框架、编译测试。关键词:代码生成、op_host、op_kernel、tiling、kernel、框架适配、算子注册。Other plugins' skills for the same job