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

Function ButtonImage

pix2pix/mainWindows.py:175–183  ·  view source on GitHub ↗
(model1,root)

Source from the content-addressed store, hash-verified

173
174#点击生成图片按钮
175def ButtonImage(model1,root):
176 # root.withdraw() # 仅显示对话框,隐藏主窗口
177 btn_gen0 = tkinter.Button(root, text='选择航拍图', font=('黑体', 14), height=1, width=20,
178 command = lambda : selectFilename(root))
179 btn_gen0.place(x=20, y=355)
180
181 btn_gen1 = tkinter.Button(root, text='生成航拍地图', font=('黑体', 14), height=1, width=20,
182 command = lambda : loadModel(model1,root))
183 btn_gen1.place(x=20, y=400)
184
185
186if __name__ == '__main__':

Callers 1

mainWindows.pyFile · 0.70

Calls 2

selectFilenameFunction · 0.70
loadModelFunction · 0.70

Tested by

no test coverage detected