File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,14 @@ English tutorials(comming soon...)
68
68
To test or visit the website, find out the kubernetes ingress IP
69
69
addresses, or the NodePort.
70
70
71
- Then open your browser and visit http://<ingress-ip-address >, or
72
- http://<any-node-ip-address >:<NodePort >
71
+ Then open your browser and visit ` http://<ingress-ip-address> ` , or
72
+ ` http://<any-node-ip-address>:<NodePort> `
73
73
74
74
- Prepare public dataset
75
75
76
- You can create a Kubernetes Job for preparing the public dataset and cluster trainer files.
76
+ You can create a Kubernetes Job for preparing the public cloud dataset with RecordIO files. You should modify the YAML file as your environment:
77
+ - ` <DATACENTER> ` , Your cluster datacenter
78
+ - ` <MONITOR_ADDR> ` , Ceph monitor address
77
79
``` bash
78
80
kubectl create -f k8s/prepare_dataset.yaml
79
81
```
Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ spec:
11
11
- name : data-storage
12
12
cephfs :
13
13
monitors :
14
- - 192.168.16.23:6789
14
+ - <MONITOR_ADDR>
15
15
path : " /public"
16
16
user : " admin"
17
17
secretRef :
18
18
name : ceph-secret
19
19
containers :
20
20
- name : prepare
21
21
image : yancey1989/paddlecloud-job
22
- command : ["sh", "-c", "python -c \"import paddle.v2.dataset as dataset; dataset.common.convert('/pfs/dlnel /public/dataset')\""]
22
+ command : ["sh", "-c", "python -c \"import paddle.v2.dataset as dataset; dataset.common.convert('/pfs/<DATACENTER> /public/dataset')\""]
23
23
volumeMounts :
24
24
- name : data-storage
25
- mountPath : /pfs/dlnel /public
25
+ mountPath : /pfs/<DATACENTER> /public
26
26
restartPolicy : Never
You can’t perform that action at this time.
0 commit comments