使用KFP DSL.Importer时设置伪影名
使用KFP dsl.importer()
函数导入工件时,导入的伪像获取默认值(display)名称artifact
。我想给它一个自定义名称,以使管道和谱系跟踪更加清晰。我检查了 ,但是我似乎找不到一种方法来更改dsl.importer()
函数产生的工件名称。
示例代码dsl.importer()
:
load_dataset_step = dsl.importer(
artifact_uri=input_data_uri,
artifact_class=dsl.Dataset,
reimport=False
).set_display_name("Load Dataset")
dsl.importer()的可视化
步骤:
我正在利用Google Cloud Vertex ai Pipelines。
When importing an artifact using the kfp dsl.importer()
function, the imported artifact gets the default (display) name artifact
. I would like to give it a custom name to make the pipeline and lineage tracking more clear. I checked the documentation, but I can't seem to find a way to change the name of the artifact that the dsl.importer()
function produces.
Example code dsl.importer()
:
load_dataset_step = dsl.importer(
artifact_uri=input_data_uri,
artifact_class=dsl.Dataset,
reimport=False
).set_display_name("Load Dataset")
Visualisation of the dsl.importer()
step:
I'm making use of Google Cloud Vertex AI Pipelines.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论