Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

将超参数以python字典的形式复制到剪贴板 #904

Closed
ymlgithub opened this issue Mar 22, 2019 · 1 comment
Closed

将超参数以python字典的形式复制到剪贴板 #904

ymlgithub opened this issue Mar 22, 2019 · 1 comment

Comments

@ymlgithub
Copy link
Contributor

What would you like to be added:
希望能将每个trial的超参数以python字典的形式导出,放到剪贴板
Why is this needed:
目前搜索到最佳超参数后需要手动复制、粘贴、修改格式
Without this feature, how does current nni work
修改前:

params = {
    a:1
    b:2
    c:'str'
}

修改后:

params = {
    'a':1,
    'b':2,
    'c':'str'
}

Components that may involve changes:
WebUI
Brief description of your proposal if any:

@scarlett2018 scarlett2018 added help wanted Encourage external contributors to contribute student program student program labels Mar 22, 2019
@ymlgithub ymlgithub reopened this Mar 22, 2019
@yangou1988
Copy link

yangou1988 commented Mar 26, 2019

After the discussion of NNI UX design, here are two UI layout and few comments:

parameters-04
parameters-05

UI

  1. Put the button 'Copy as Python' to the bottom-left of Parameter
    image
  2. Remove this expandable parameter
    image

Experience

  1. Click the 'Copy as Python' button
  2. Translate the parameter to Python form
  3. Copy it to clipboard
  4. A message bar will popup and stay in 3 seconds then disappear
    image

@scarlett2018 scarlett2018 added this to the April 2019 Release milestone Apr 4, 2019
@ymlgithub ymlgithub changed the title 将超参数以python字典的形式到剪贴板 将超参数以python字典的形式复制到剪贴板 Apr 22, 2019
@scarlett2018 scarlett2018 added external contributor WebUI and removed help wanted Encourage external contributors to contribute labels Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants