Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Miykael_xxm
kubeflow.gitcode.host
提交
686add4d
K
kubeflow.gitcode.host
项目概览
Miykael_xxm
/
kubeflow.gitcode.host
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kubeflow.gitcode.host
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
686add4d
编写于
7月 11, 2019
作者:
R
Richard Liu
提交者:
GitHub
7月 11, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update hyperparameter.md
上级
6d4412e6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
13 addition
and
8 deletion
+13
-8
content/docs/components/hyperparameter.md
content/docs/components/hyperparameter.md
+13
-8
未找到文件。
content/docs/components/hyperparameter.md
浏览文件 @
686add4d
...
...
@@ -13,8 +13,8 @@ framework (such as TensorFlow, MXNet, or PyTorch).
## Installing Katib
To run Katib jobs, you must install the required packages as shown in this
section. You can do so by following the Kubeflow [deployment guide]
(/docs/gke/deploy/),
or by installing Katib directly from its repository:
section. You can do so by following the Kubeflow
[
deployment guide
]
(
/docs/gke/deploy/
)
,
or by installing Katib directly from its repository:
```
git clone https://github.com/kubeflow/katib
./katib/scripts/v1alpha2/deploy.sh
...
...
@@ -67,16 +67,16 @@ Running this command launches an Experiment. It runs a series of
training jobs to train models using different hyperparameters and save the
results.
The configurations for the experiment (hyper
-
parameter feasible space, optimization
The configurations for the experiment (hyperparameter feasible space, optimization
parameter, optimization goal, suggestion algorithm, and so on) are defined in
[
random-example.yaml
](
https://github.com/kubeflow/katib/blob/master/examples/v1alpha2/random-example.yaml
)
.
In this demo, hyper
-
parameters are embedded as args.
You can embed hyper
-
parameters in another way (for example, environment values)
In this demo, hyperparameters are embedded as args.
You can embed hyperparameters in another way (for example, environment values)
by using the template defined in
`TrialTemplate.GoTemplate.RawTemplate`
.
It is written in
[
go template
](
https://golang.org/pkg/text/template/
)
format.
This demo randomly generates 3 hyper
parameters:
This demo randomly generates 3 hyperparameters:
*
Learning Rate (--lr) - type: double
*
Number of NN Layer (--num-layers) - type: int
...
...
@@ -243,7 +243,12 @@ kubectl -n kubeflow describe experiment pytorchjob-example
You can monitor your results in the Katib UI. If you installed Kubeflow
using the deployment guide, you can access the Katib UI at
```
https://<kubeflow endpoint>/katib/
https://<your kubeflow endpoint>/katib/
```
For example, if you deployed Kubeflow on GKE, your endpoint would be
```
https://<deployment_name>.endpoints.<project>.cloud.goog/
```
Otherwise, you can set port-forwarding for the Katib UI service:
...
...
@@ -295,4 +300,4 @@ recall=0.55
precision=0.5
```
Katib
will then periodically launch
CronJobs to collect metrics from pods.
Katib
periodically launches
CronJobs to collect metrics from pods.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录