Skip to content

Commit

Permalink
pipeline: rename framework (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
FeelyChau authored Aug 18, 2021
1 parent 0acc5c7 commit f8ed754
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 22 deletions.
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ test
pipcook_venv
output
example

packages/boa
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,13 @@ jobs:
access_token: ${{ github.token }}
exception: main
- uses: actions/checkout@v2
- name: Restore node_modules and boa dependencies
- name: Restore node_modules
uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
packages/boa/pybind11
packages/boa/pyodide
key: ${{ runner.os }}-${{ matrix.node_version }}-nodepkg-${{ hashFiles('**/package-lock.json', 'packages/boa/pybind11/Makefile', 'packages/boa/pyodide/Makefile') }}
key: ${{ runner.os }}-${{ matrix.node_version }}-nodepkg-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-nodepkg-${{ matrix.node_version }}
${{ runner.os }}-nodepkg
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/intro-to-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In Pipcook, we use Pipeline to represent the training process of a model, so in
"target": "/tmp/mobilenet-model.zip"
}],
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 20,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/component-image-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ After the dataset is ready, we can start training. Using Pipcook can be very con
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/image-classification-mobilenet/build/model.js",
"artifact": [],
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 20,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/machine-learning-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Then define the [model script](https://github.com/imgcook/pipcook-script/blob/ma
{
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/image-classification-mobilenet/build/model.js",
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 20,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/contributing/contribute-a-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Pipcook 2.0 做了大量功能和性能优化,让开发者和用户可以以
"target": "/home/pipcook/mobilenet-model.zip"
}],
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 10,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/manual/intro-to-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"target": "/tmp/mobilenet-model.zip"
}],
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 20,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/tutorials/component-image-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/image-classification-mobilenet/build/model.js",
"artifact": [],
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 20,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/tutorials/machine-learning-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ predictBookPrice('Dive into Pipcook'); // 199.0
{
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/image-classification-mobilenet/build/model.js",
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 20,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion example/pipelines/image-classification-mobilenet.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/image-classification/build/model.js",
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 10,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion example/pipelines/image-classification-resnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/image-classification/build/model.js",
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 10,
"validationRequired": true,
Expand Down
2 changes: 1 addition & 1 deletion example/pipelines/object-detection-yolo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/object-detection-yolo/build/model.js",
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 100,
"validationRequired": true
Expand Down
2 changes: 1 addition & 1 deletion notebooks/pipcook_image_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
" \"target\": \"/tmp/mobilenet-model.zip\"\n",
" }],\n",
" \"options\": {\n",
" \"framework\": \"[email protected]\",\n",
" \"framework\": \"[email protected]\",\n",
" \"train\": {\n",
" \"epochs\": 15,\n",
" \"validationRequired\": true\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/pipcook_object_detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
" \"artifact\": [{\n",
" }],\n",
" \"options\": {\n",
" \"framework\": \"[email protected]\",\n",
" \"framework\": \"[email protected]\",\n",
" \"train\": {\n",
" \"epochs\": 20,\n",
" \"validationRequired\": true\n",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export type FrameworkModule = any;
export enum TaskType { TRAIN = 1, PREDICT = 2 }

/**
* The context of script running, includes `boa` and `DataCook`.
* The context of script running.
*/
export interface ScriptContext {
/**
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines/image-classification-mobilenet.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"target": "/tmp/mobilenet-model.zip"
}],
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 1,
"validationRequired": true,
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines/image-classification-resnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}],
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@fe00a8e/scripts/image-classification/build/model.js",
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 1,
"validationRequired": true,
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines/object-detection-yolo.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"target": "/tmp/mobilenet-model.zip"
}],
"options": {
"framework": "[email protected]",
"framework": "[email protected]",
"train": {
"epochs": 1,
"validationRequired": true
Expand Down

0 comments on commit f8ed754

Please sign in to comment.