MCPcopy Create free account
hub / github.com/KeepTryingTo/Pytorch-GAN / ButtonImage

Function ButtonImage

SRGAN/mainWindows.py:155–163  ·  view source on GitHub ↗
(model1,root)

Source from the content-addressed store, hash-verified

153
154#点击生成图片按钮
155def ButtonImage(model1,root):
156 # root.withdraw() # 仅显示对话框,隐藏主窗口
157 btn_gen0 = tkinter.Button(root, text='选择低分辨率图像', font=('黑体', 14), height=1, width=20,
158 command = lambda : selectFilename(root))
159 btn_gen0.place(x=20, y=355)
160
161 btn_gen1 = tkinter.Button(root, text='生成高分辨率图像', font=('黑体', 14), height=1, width=20,
162 command = lambda : loadModel(model1,root))
163 btn_gen1.place(x=20, y=390)
164
165
166if __name__ == '__main__':

Callers 1

mainWindows.pyFile · 0.70

Calls 2

selectFilenameFunction · 0.70
loadModelFunction · 0.70

Tested by

no test coverage detected