上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: 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 山…隹 阅读(478) 评论(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 山…隹 阅读(414) 评论(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 山…隹 阅读(28) 评论(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 山…隹 阅读(568) 评论(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 山…隹 阅读(59) 评论(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 山…隹 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #添加 tf.executing_eagerly() tf.config.run_functions_eagerly(True) 搜索 复制 阅读全文
posted @ 2022-06-06 18:39 山…隹 阅读(24) 评论(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 山…隹 阅读(35) 评论(0) 推荐(0) 编辑
摘要: import glob mg_path = glob.glob(r'../faces/*.jpg') 搜索 复制 阅读全文
posted @ 2022-06-01 00:12 山…隹 阅读(15) 评论(0) 推荐(0) 编辑
摘要: # lower_yellow = np.array([12, 230, 230]) # 黄色阈值下界lower_yellow = np.array([12, 43, 43]) # 黄色阈值下界higher_yellow = np.array([35, 255, 255]) # 黄色阈值上界lower 阅读全文
posted @ 2022-05-27 20:00 山…隹 阅读(443) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 29 下一页