简体   繁体   English

克隆实验是否适用于 sklearn 函数?

[英]Does clone experiment work on sklearn functions?

I'm trying to run a script and I'm constantly getting this while cloning experiment in allegro.ai AttributeError: 'Namespace' object has no attribute 'get' Can anybody help?我正在尝试运行一个脚本,并且在 allegro.ai 中克隆实验时不断得到这个 AttributeError: 'Namespace' object has no attribute 'get' 有人可以帮忙吗?

Disclaimer I'm part of the Allegro Trains Team:)免责声明我是 Allegro Trains 团队的一员:)

Where exactly are you getting the error?你到底在哪里得到错误? Python or Web UI? Python 或 Web 用户界面?

To clone a Task (experiment) from code this is what you can do:要从代码中克隆任务(实验),您可以执行以下操作:

from trains import Task

my_cloned_task = Task.clone(source_task='aabbcc112233')

The task_id is the UID of the task (experiment) you want to clone. task_id是您要克隆的任务(实验)的 UID。 To get an experiment ID, go to the web UI, in the experiment info panel, to the right of the experiment name, press on the "ID" button and you will see the ID of the Task.要获取实验 ID,go 到 web UI,在实验信息面板中,在实验名称的右侧,按“ID”按钮,您将看到任务的 ID。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM