external-gitcode-ascend-mmdet3d
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "external-gitcode-ascend-mmdet3d" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dfca1d19695a481492a7d84597037c8dd94110d91bb7502f0aad4d05b5e86dc0. Verify the upstream source and version against https://github.com/ascend-ai-coding/awesome-ascend-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Installs mmdetection3d (including mmsegmentation dependencies) in an Ascend NPU container, intended for development preparation of 3D object detection models.
Introduction source: third_party · ascend-ai-coding · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- ```
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: external-gitcode-ascend-mmdet3d
description: 在昇腾NPU容器中安装mmdetection3d(含mmsegmentation依赖)。适用于3D目标检测模型的开发。
type: capability
original-name: ascend-mmdet3d-install
synced-from: https://gitcode.com/Ascend/agent-skills
synced-date: '2026-05-26'
synced-commit: 1f7666e7768a0ceb21bb1d40ce4b5179fcb6f1d6
license: UNKNOWNascend-mmdet3d-install
功能
在昇腾NPU容器中安装 mmdetection3d(3D目标检测库)
前置条件
- mmcv 已安装
- mmsegmentation 已安装(mmdet3d 依赖)
- 容器中已安装 Ascend CANN 和 torch_npu
- 工作目录已挂载
使用
步骤1:确认前置条件
确保 mmcv 已安装:
python -c "import mmcv; print(mmcv.__version__)"
步骤2:安装 mmsegmentation
mmdet3d 依赖 mmsegmentation,根据版本选择:
推荐版本(适配 mmcv 1.7.x):
pip install mmsegmentation==0.30.0
步骤3:克隆 mmdetection3d 仓库
根据网络情况选择:
服务器直连:
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官方链接,不使用镜像站点。
步骤4:应用patch(如有)
cd mmdetection3d
cp /path/to/DrivingSDK/model_examples/BEVFormer/mmdet3d_config.patch .
git apply --reject mmdet3d_config.patch
步骤5:安装
source /opt/conda/bin/activate <conda-env-name>
pip install -e .
步骤6:验证安装
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
常见问题
- mmsegmentation 版本:必须使用 0.30.0 版本,与 mmcv 1.7.x 兼容
- import mmseg 失败:确保 mmsegmentation 正确安装
- patch失败:跳过非关键patch或手动处理
决策指引
向用户提问:
- mmcv 是否已安装?
- 使用哪个版本的 mmsegmentation?
- 服务器网络能否访问GitHub?
- 是否需要应用特定patch?
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供昇腾 NPU 环境下 mmdetection3d 的完整安装流程
- 面向 AI 模型开发用户,解决特定硬件环境下的依赖管理痛点
Highlights
- 触发描述清晰明确,涵盖核心功能与适用场景
- 边界清晰,不易与其他 Skill 混淆
Highlights
- 文档结构完整,步骤划分清晰
- 包含前置条件、详细步骤、依赖关系和常见问题
Highlights
- 工具来源明确,参数具体
- 覆盖网络异常、patch失败等主要异常场景
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 40, 79
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- gitcode.com
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.