# 获取当前时间
# current_time = datetime.now()
current_time = time.strftime("%Y-%m-%d_%H:%M:%S", time.localtime())
# 格式化时间字符串
# folder_name = current_time.strftime("%Y-%m-%d_%H:%M:%S")
# 创建文件夹
folder_path = './checkpoint/{}'.format(current_time)
if not os.path.exists(folder_path):
os.mkdir(folder_path)
10-20
2029