chainerui:chainer的用户界面

chainerui的Python项目详细描述


链路

PyPIBuild StatusBuild statusCoverage StatusDocumentation Status

training_captures

chainerui是用于Chainer的可视化和管理工具。

安装

要安装chainerui,请使用pip

$ pip install chainerui

从源安装chainerui。

$ git clone https://github.com/chainer/chainerui.git
$ cd chainerui/frontend
$ npm install && npm run build &&cd ..
$ pip install -e .
  • chainerui使用标准python库中包含的sqlite3模块。如果python是从源代码构建的,那么在构建python之前必须安装sqlite3
    • 在ubuntu上,在构建python之前必须安装“libsqlite3 dev”($ apt-get install libsqlite3-dev)。
    • 在Windows上,在构建Python之前,使用默认安装设置安装VisualC++构建工具。

快速启动

初始化chainerui数据库。

$ chainerui db create
$ chainerui db upgrade

复制列车日志示例并创建项目。

$ git clone https://github.com/chainer/chainerui.git
$ cd chainerui

$ # create your first project
$ chainerui project create -d examples -n example-project

$ # run ChainerUI server
$ chainerui server

打开http://localhost:5000/并选择“示例项目”。

有关详细用法,请参见getting started

Docker启动

DockerHub获取docker容器并启动chainerui服务器。容器已安装chainerui模块,设置数据库和命令以启动服务器。

$ git clone https://github.com/chainer/chainerui.git
$ cd chainerui

$ # replace tag to the latest version number
$ docker pull chainer/chainerui:v0.4.0
$ docker run -d -p 5000:5000 -v $PWD:/projects --name chainerui chainer/chainerui:v0.4.0

$ # then ChainerUI server is running
$ # create project via HTTP
$ curl http://localhost:5000/api/v1/projects -X POST -H "Content-Type: application/json" -d '{"project":{"name":"example-project","path_name":"/projects/examples"}}'

打开http://localhost:5000/并选择“示例项目”。

有关详细用法,请参见docker start

浏览器兼容性

以下浏览器的最新稳定版本支持chainerui。

  • 火狐

许可证

麻省理工学院许可证(见LICENSE文件)。

贡献

欢迎任何对Chainerui的贡献!

运行测试

安装“pytest”软件包并运行测试

$ pytest

构建客户端js

$ cd frontend
$ npm install
$ npm run build:watch

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
我可以用C++代码使用java代码吗?   java使用JSR303在派生类中提供更具体的约束   java在这个查找唯一路径数算法中我做错了什么?   java如何为2个不同的服务提供商使用2个不同的SSL证书?   java在Gridview上绘制文本   java使用连接for循环构建字符串名   java StringBuilder拆分无法处理某些文件   java事件关注EditText   Java Web Start“找不到URL的缓存资源”   java程序从命令行运行的速度比在Eclipse中慢   java为什么HttpServletRequest会截断#字符上的url输入?   java自定义折叠工具栏平滑标题大小调整   使用Mockito对安卓 java中调用另一个静态函数的函数进行单元测试   http在java客户机中使用cachecontrol头   java如何使用。是否使用Delimiter从输入文件中排除标点符号和数字?   使用上下文作为参数/参数的java   java更有效地从Jar中提取文件   java为多个JButton提供相同的actionListener