摘要: 前提是先安装好驱动程序,驱动程序是根据显卡的型号来选择的 1、安装CUDA Toolkit cuda10.0地址:https://link.zhihu.com/?target=https%3A//developer.nvidia.com/cuda-10.0-download-archive 2、查看 阅读全文
posted @ 2021-01-16 21:05 consolexinhun 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 方法一:改 hosts 文件 缺点:提速不明显,而且过一段时间没用了 方法二:从码云中按照 Github 仓库的 Https 地址导入项目,然后通过码云来 clone 缺点:操作步骤繁杂 方法三:在 github.com 后面加上 .cnpmjs.org 或者换个域名 github.com 替换成 阅读全文
posted @ 2021-01-12 20:12 consolexinhun 阅读(95) 评论(1) 推荐(0) 编辑
摘要: 需要导入tensorboard包 pip install tensoboard 代码 from torch.utils.tensorboard import SummaryWriter model = FPN() with SummaryWriter(comment="FPN") as w: w.a 阅读全文
posted @ 2021-01-10 17:44 consolexinhun 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 先导包,pip install torchsummary 然后 from torchsummary import summary model = FPN() y = summary(model, (3, 224, 224), device="cpu") print(y) 阅读全文
posted @ 2021-01-10 17:23 consolexinhun 阅读(1382) 评论(0) 推荐(0) 编辑
摘要: 针对二分类的评估指标有Precision,Recall, F1-Score TPR,FPR, TNR,FNR,AUC,Accuracy 真实结果 1 0 预测结果 1 TP(真阳性) FP(假阳性) 0 FN(假阴性) TN(真阴性) TP:预测为正类,并且预测正确 FP:预测为正类,预测错误 FN 阅读全文
posted @ 2020-12-07 15:01 consolexinhun 阅读(276) 评论(0) 推荐(0) 编辑