FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
models/scripts/test_elasticdl_submit.sh at develop · sql-machine-learning/models · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
sql-machine-learning
/
models
Public
Notifications
You must be signed in to change notification settings
Fork
17
Star
37
Code
Issues
7
Pull requests
5
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
models
/
scripts
/
test_elasticdl_submit.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (22 loc) · 912 Bytes
Breadcrumbs
models
/
scripts
/
test_elasticdl_submit.sh
Copy path
File metadata and controls
23 lines (22 loc) · 912 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!
/bin/bash
elasticdl train --image_base=sqlflow/sqlflow_models \
--model_def=dnnclassifier.DNNClassifier \
--training_data=sqlflow_test_iris_train \
--data_reader_params=
'
columns=["sepal_length", "sepal_width", "petal_length", "petal_width", "class"];label_col="class"
'
\
--envs=
"
ODPS_PROJECT_NAME=gomaxcompute_driver_w7u,ODPS_ACCESS_ID=
$ODPS_ACCESS_ID
,ODPS_ACCESS_KEY=
$ODPS_ACCESS_KEY
"
\
--minibatch_size=32 \
--num_epochs=2 \
--model_zoo=/sqlflow_models \
--job_name=test-odps \
--num_minibatches_per_task=2 \
--image_pull_policy=Never \
--num_workers=2 \
--num_ps_pods=1 \
--master_resource_request=
"
cpu=200m,memory=128Mi
"
\
--master_resource_limit=
"
cpu=1,memory=2048Mi
"
\
--worker_resource_request=
"
cpu=200m,memory=128Mi
"
\
--worker_resource_limit=
"
cpu=1,memory=3072Mi
"
\
--ps_resource_request=
"
cpu=200m,memory=128Mi
"
\
--ps_resource_limit=
"
cpu=1,memory=2048Mi
"
\
--grads_to_wait=2 \
--output=model_output
Back
|
FazBrowse Home
|
New Git URL