摘要: Windows10 安装相应模块 pip install pydot-ng pip install graphviz pip install pydot 安装graphviz-2.38.msi https://www.softpedia.com/get/Others/Miscellaneous/Gr 阅读全文
posted @ 2020-05-29 13:50 DuanYongchun 阅读(852) 评论(0) 推荐(0) 编辑
摘要: (1)查看history字典包含哪些值 # 报错语句:accuracy = history_record.history["acc"] # dyc history_dict = history_record.history print(" history_dict.keys() :", histor 阅读全文
posted @ 2020-05-29 13:27 DuanYongchun 阅读(3650) 评论(2) 推荐(0) 编辑
摘要: Pytorch # 1: torch.cuda.set_device(1) # 2: device = torch.device("cuda:1") # 3:(官方推荐) import os os.environ["CUDA_VISIBLE_DEVICES"] = '1' # 4:(同时调用两块GP 阅读全文
posted @ 2020-05-29 00:23 DuanYongchun 阅读(1559) 评论(0) 推荐(1) 编辑