Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
liutension 07fc5a9bb5 | 3 years ago | |
---|---|---|
.. | ||
command | 3 years ago | |
config | 3 years ago | |
lib | 3 years ago | |
prototype | 3 years ago | |
utils | 3 years ago | |
.gitignore | 3 years ago | |
help.png | 3 years ago | |
init.png | 3 years ago | |
ms_client.js | 3 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago | |
readme.md | 3 years ago | |
yarn.lock | 3 years ago |
启智模块系统客户端
安装依赖: yarn .
yarn
编译: pkg ms_client.js
pkg
这样会编译出 windows ,mac,linux 三个OS 对应的版本。
假如您想建立一个名字为Keras_IR
的项目, 可以使用客户端的init
命令.
过程如下图所示:
这样将会在本地初始化一个空项目,项目的根目录是Keras_IR
,在Keras_IR
目录下有
一个.ms
目录和一个project.json
文件。
.ms
目录放置该项目的其他版本,project.json
里面是项目的信息,如下所示:
{
"name": "Keras_IR",//项目名称
"remote": "http://192.168.113.221:6024/your_username/Keras_IR.ms",//远程地址
"current": "v1",//当前版本号
"versions": [ //版本历史
"v1",
"v2"
]
}
远程地址的格式为protocol://host/username/project_name.ms
。host
是协议(http
或者https
),host
是仓库的地址,可以是域名或者IP地址加端口号,username
是您在该仓库的用户名,project_name
是您项目的名称.
versions
是存放的历史版本号,默认数据最后面的是最迟创建的
exit
退出命令行工具lang
切换系统语言login
登陆远程仓库clone
从远程克隆一个项目pull
从远程拉取更新push
将本地更新到远程init
在本地初始化一个项目convert
在远程转换数据格式version
项目版本相关的操作可以运行help
命令查看所有的命令列表,运行 help 'command'
查看指定命令的用法,
比如: help version
:
命令: convert -p your_config_file
配置文件是
.yaml
格式
以下是各模型间转换的配置文件参数说明:
input_shape: ""
source_framework: "IR"
destination_framework: "MXNet"
#proto file (.pb 文件)的相对路径,相对于您项目的根目录
proto_file: ""
# param file(.npy 文件) 的相对路径,相对于您项目的根目录
param_file: ""
input_shape: ""
source_framework: "IR"
destination_framework: "PyTorch"
#proto file (.pb 文件)的相对路径,相对于您项目的根目录
proto_file: ""
# param file(.npy 文件) 的相对路径,相对于您项目的根目录
param_file: ""
input_shape: ""
source_framework: "MXNet"
destination_framework: "IR"
#json file (.json 文件)的相对路径,相对于您项目的根目录
json_file: ""
# param file(.params 文件) 的相对路径,相对于您项目的根目录
param_file: ""
input_shape: ""
source_framework: "Keras"
destination_framework: "IR"
#json file (.json文件)的相对路径,相对于您项目的根目录
json_file: ""
# model file (.h5文件)的相对路径,相对于您项目的根目录
model_file: ""
input_shape: ""
source_framework: "PyTorch"
destination_framework: "IR"
# model file (.pth文件)的相对路径,相对于您项目的根目录
model_file: ""
@Deprecated 此仓库已弃用,请移步至 https://git.openi.org.cn/OpenI/octopus.
启智章鱼项目(OPENI-OCTOPUS)是一个集群管理和资源调度系统,支持在GPU集群中运行AI任务作业(比如深度学习任务作业)。平台提供了一系列接口,能够支持主流的深度学习框架。
JavaScript Go SVG Python JSX other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》