This document explains how to submit a complete nndeploy workflow template. Using the face_swap algorithm as an example, it demonstrates the required file structure and specifications.
- Filename:
face_swap.json - Description: Workflow definition file containing complete node connections and parameter configurations
- Filename: Must match the internal reference names in the workflow
- Description: Test input data required for workflow execution (images, videos, etc.)
- Filename:
requirements.face_swap.txt - Naming Convention: Must follow the format
requirements.[algorithm_name].txt - Description: Lists Python dependency packages and versions required for workflow execution
- Filename:
readme.face_swap.md - Naming Convention: Must follow the format
readme.[algorithm_name].md - Content Requirements:
- Python dependency package installation steps
- Workflow usage instructions and parameter configuration guide
- Common issues and solutions
- Filename:
cover.face_swap.jpg - Naming Convention: Must follow the format
cover.[algorithm_name].jpg - Size Requirements: Fixed dimensions, adapted for frontend grid layout display
本文档说明如何提交一个完整的nndeploy工作流模板。以换脸(face_swap)算法为例,展示所需的文件结构和规范。
- 文件名:
face_swap.json - 说明: 包含完整的节点连接关系和参数配置的工作流定义文件
- 文件名: 与工作流内部引用名称保持一致
- 说明: 工作流运行所需的测试输入数据(图片、视频等)
- 文件名:
requirements.face_swap.txt - 命名规范: 必须遵循
requirements.[算法名].txt格式 - 说明: 列出工作流运行所需的Python依赖包及版本
- 文件名:
readme.face_swap.md - 命名规范: 必须遵循
readme.[算法名].md格式 - 内容要求:
- Python依赖包的安装步骤
- 工作流的使用方法和参数配置说明
- 常见问题和解决方案
- 文件名:
cover.face_swap.jpg - 命名规范: 必须遵循
cover.[算法名].jpg格式 - 尺寸要求: 固定尺寸,适配前端展示的方块网格布局