上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: import numpy as np import matplotlib.pyplot as plt import random import math x_size = 100000 X = np.linspace(-1,1,x_size) Y1 = +np.sqrt(1-np.square(X) 阅读全文
posted @ 2022-09-02 16:19 山…隹 阅读(196) 评论(0) 推荐(0)
摘要: class WarmUpCos(keras.callbacks.Callback): def __init__(self, lr_max,lr_min, warm_step,sum_step,bat): super(WarmUpCos, self).__init__() self.lr_max = 阅读全文
posted @ 2022-07-20 00:55 山…隹 阅读(185) 评论(0) 推荐(0)
摘要: class WarmUpLineDecayScheduler(keras.callbacks.Callback): def __init__(self, lr_max,lr_min, warm_step,sum_step,bat): super(WarmUpLineDecayScheduler, s 阅读全文
posted @ 2022-07-14 19:34 山…隹 阅读(531) 评论(0) 推荐(0)
摘要: from keras_flops import get_flops model = ... # Calculae FLOPS flops = get_flops(model, batch_size=1) print(f"FLOPS: {flops / 10 ** 9:.03} G") 原文档:htt 阅读全文
posted @ 2022-07-10 20:57 山…隹 阅读(512) 评论(0) 推荐(0)
摘要: import os, sys lib_path = os.path.abspath(os.path.join('../../')) sys.path.append(lib_path) print('sys.path:',sys.path) 搜索 复制 阅读全文
posted @ 2022-07-04 17:20 山…隹 阅读(37) 评论(0) 推荐(0)
摘要: 1.先安装nurse 防止screen安装报错 https://blog.csdn.net/qq_39245082/article/details/122129145?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.non 阅读全文
posted @ 2022-07-04 10:55 山…隹 阅读(708) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/read/cv15170107/ 环境导出conda env export > requirements.yaml环境导入conda env create -f requirements.yaml 搜索 复制 阅读全文
posted @ 2022-07-04 10:15 山…隹 阅读(65) 评论(0) 推荐(0)
摘要: import numpy as np import cv2 import matplotlib.pyplot as plt img_path = r'C:\Kaggle\Ultrasound_nerve_seg\train/1_1_mask.tif' val_path = './data/train 阅读全文
posted @ 2022-06-28 21:00 山…隹 阅读(116) 评论(0) 推荐(0)
摘要: #添加 tf.executing_eagerly() tf.config.run_functions_eagerly(True) 搜索 复制 阅读全文
posted @ 2022-06-06 18:39 山…隹 阅读(31) 评论(0) 推荐(0)
摘要: (sudo) conda create --quiet --yes --name myenv1 conda activate myenv1 进入conda list 列出下载的包conda deactivate 退出conda env remove -n testenv 删除环境 搜索 复制 阅读全文
posted @ 2022-06-04 21:13 山…隹 阅读(41) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 29 下一页