Either run VisualDL/build.sh that builds everything or a target like this
```
```
mkdir {VisualDL_ROOT}/build
mkdir {VisualDL_ROOT}/build
cd build
cd build
...
@@ -49,12 +50,12 @@ make {TARGET MODULE}
...
@@ -49,12 +50,12 @@ make {TARGET MODULE}
```
```
## Tests
## 测试
Modification in SDK API or any major function should be adding test cases.
任何关于 SDK API 或其他核心组件的修改都必须提供相应的测试案例。
In {VisualDL_ROOT}/CMakeList.txt, we have a list of test files as target
在 {VisualDL_ROOT}/CMakeList.txt 中,我们有一个测试文件清单
```
```
add_executable(vl_test
add_executable(vl_test
...
@@ -70,7 +71,7 @@ add_executable(vl_test
...
@@ -70,7 +71,7 @@ add_executable(vl_test
)
)
```
```
Add new test cases in corresponding files where code is modified or create new test files. You can make vl_test target and just run vl_test executable for all test cases.
-```Tablet``` : group a single type of data with ```tag```. One tablet will only represent one data type such as scalar, histogram, image and contains multiple ```Record```. For example one tablet represents a line in scalar chart.
1.The Python/C++ SDK that logs the data during training.
1.在训练过程中用来记录日志数据的 Python/C++ SDK。
1.The single page client side app that visualized training data.
1.用来可视化训练数据的客户端单页面应用。
1.The server (powered on Flask) that reads the logs data and delivers it to the client side app for displaying graphs (scalars/histograms) and embeddings.
webpack can help to transpile the Javascript files to the version where a browser can take. The developers don't need to implement version specific code anymore.
网络开发者不必再担心为了特定的浏览器而订制特定的代码版本。
It can also help to minify and uglify Javascript files. In a nutshell, webpack helps to manage all of your assets (.js, .css, .gif, .sass, etc) so you don't have to.
To learn more about [webpack](https://webpack.js.org/).
更多Webpack内容请参考[这里](https://webpack.js.org/).
## npm package
## npm package
npm is the package manager for JavaScript and is a great tool to manage multiple dependencies. To confirm that you have npm installed. Please run this command
Vue allows you to define a self-contained view model in a .vue file and attach view model objects to DOM objects.
Vue 允许开发者自己定义视图模型并保存在 .vue 文件里。然后把视图模型绑定到 DOM 对象上。
To learn more about [Vue](https://vuejs.org/)
更多内容参见 [这里](https://vuejs.org/)
## ECharts
## ECharts
We use ECharts javascript library to render our charts and graphs. ECharts is a leading open source charting library that supports numerous data visualization.