04 2020 档案
摘要:import json import os def create_data_list(data_root_path): with open(data_root_path + "test.list", 'w') as f: pass with open(data_root_path + "train.
阅读全文
摘要:1 def func(a= True): 2 if a: 3 print('a') 4 else: 5 print('b') func(True)
阅读全文
摘要:plot_model(model,to_file = 'a simple convnet.png') # 画出模型结构图,并保存成图片 import numpy as np from keras.layers import Dense from keras.models import Model f
阅读全文