上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 54 下一页

2021年8月30日

摘要: 前言 tensorboard可以对很多数据等进行可视化,比如Scalar(s)/ image(s)/ histogram/ figure/ video/ audio/ text/ graph/ PR/ mash等等。 1. 模块导入 from torch.utils.tensorboard impo 阅读全文
posted @ 2021-08-30 19:20 鹅要长大 阅读(462) 评论(0) 推荐(0)
摘要: 准确率/精确率/召回率/查准率/查全率/真正率/假正率。。 TP/TN/FP/FN/TPR/FPR F1-Score PR:Precision-Recall ROC:TPR-FPR AUC:ROC; 准确率 Accuracy 正确分类的样本数与总样本数之比(预测对的总样本 / 总总样本数) 精确率 阅读全文
posted @ 2021-08-30 19:20 鹅要长大 阅读(654) 评论(0) 推荐(0)

2021年8月8日

摘要: 参考 1. git error: failed to push some refs to remote; 完 阅读全文
posted @ 2021-08-08 17:34 鹅要长大 阅读(152) 评论(0) 推荐(0)

2021年8月2日

摘要: 也就是说,action='store_true',只要运行时该变量有传参就将该变量设为True。 Note:有default值的时候,running时不声明就为默认值, 没有的话,如果是store_false,则默认值是True,如果是store_true,则默认值是False; 实在记不住搞混的话 阅读全文
posted @ 2021-08-02 19:54 鹅要长大 阅读(473) 评论(0) 推荐(0)
摘要: ldd不是一个可执行程序,而只是一个shell脚本 在linux环境下,c++编译得到库文件后缀包括:.so or .a or .la,当然,linux下文件的类型是不依赖于其后缀名的,后缀及其含义:.so 为共享库 : 动态库(shared library/shared object/dynami 阅读全文
posted @ 2021-08-02 19:53 鹅要长大 阅读(775) 评论(0) 推荐(0)
摘要: code import torch chpt = torch.load('./CP_epoch1.pth') # epoch = chpt['epoch'] # loss = chpt['loss'] for k, v in chpt.items(): print(k, v) output(): i 阅读全文
posted @ 2021-08-02 19:53 鹅要长大 阅读(282) 评论(0) 推荐(0)
摘要: clone code: git clone git@gitlab.xxx.yy:zzz/IPM_Semantic.git 我们在使用 git clone + 远程仓库地址将项目下载下来之后,倘若远程仓库有多个分支,我们会发现,使用git branch查看本地分支时,只有一个master分支。 $ g 阅读全文
posted @ 2021-08-02 19:52 鹅要长大 阅读(2709) 评论(0) 推荐(2)
摘要: step1: gitlab,生成gitlab网站的公钥私钥; $ ssh-keygen -t rsa -C xxx.yy@zzz.com Generating public/private rsa key pair. Enter file in which to save the key (/c/U 阅读全文
posted @ 2021-08-02 19:51 鹅要长大 阅读(398) 评论(0) 推荐(0)

2021年7月30日

该文被密码保护。 阅读全文
posted @ 2021-07-30 14:36 鹅要长大 阅读(1595) 评论(0) 推荐(0)

2021年7月8日

摘要: 前言 问题: (labelme) xxx@xxx:~/xxx/labelme2dataset/anno$ labelme_json_to_dataset 0.json [INFO ] font_manager:_rebuild:1337 - generated new fontManager [IN 阅读全文
posted @ 2021-07-08 09:09 鹅要长大 阅读(732) 评论(0) 推荐(0)
摘要: 问题 File "/home/xxx/miniconda3/envs/open_mmlab/lib/python3.8/site-packages/torch/utils/data/_utils/collate.py", line 55, in default_collate return torc 阅读全文
posted @ 2021-07-08 09:06 鹅要长大 阅读(11455) 评论(0) 推荐(0)

2021年7月7日

摘要: 前言 方法一:直接使用python脚本处理; 可以查看 labelme_json_to_dataset 的源码; 方法二:使用labelme自带的labelme_json_to_dataset,基于shell脚本处理; shell: #! /bin/bash dir=`ls /home/xxx/wo 阅读全文
posted @ 2021-07-07 19:17 鹅要长大 阅读(428) 评论(0) 推荐(1)
摘要: 使用conda安装虚拟环境 首先,需要安装NVIDIA驱动和Conda工具; conda create -n open_mmlab python=3.8 -y conda activate open_mmlab conda install pytorch=1.6.0 torchvision cuda 阅读全文
posted @ 2021-07-07 19:12 鹅要长大 阅读(522) 评论(0) 推荐(0)

2021年6月16日

摘要: 前言 本文是基于pytorch_unet训练数据集进行二类语义分割,并完成测试; 操作步骤: 问题: 参考 1. github_Pytorch_Unet; 2. 完 阅读全文
posted @ 2021-06-16 21:53 鹅要长大 阅读(416) 评论(0) 推荐(0)
摘要: 前言 本文是基于pytorch_unet训练多类别数据集的分割,并完成测试; 操作步骤: 问题: 1. 数据集的mask部分标签类别不正确; 原因: 制作标签的时候保存的图像标签文件时jpg,因为jpg格式会在存储时对图像进行压缩,导致mask图像不准确。 所以,保存标签mask图像的时候一定要注意 阅读全文
posted @ 2021-06-16 21:50 鹅要长大 阅读(2586) 评论(0) 推荐(0)
摘要: 单次 查询: nvidia-smi 实时查看 watch -n 0.5 nvidia-smi #每0.5s刷新一次 命令解析 第一栏的Fan:N/A是风扇转速,从0到100%之间变动,这个速度是计算机期望的风扇转速,实际情况下如果风扇堵转,可能打不到显示的转速。有的设备不会返回转速,因为它不依赖风扇 阅读全文
posted @ 2021-06-16 21:49 鹅要长大 阅读(1751) 评论(0) 推荐(0)

2021年6月2日

摘要: 参考 1. open_mmlab_github; 2. mmsegmentation_github; 3. mmsegmentation_doc; 完 阅读全文
posted @ 2021-06-02 18:11 鹅要长大 阅读(1663) 评论(0) 推荐(0)
摘要: 错误 Traceback (most recent call last): File "json2mask.py", line 18, in <module> main() File "json2mask.py", line 13, in main data = json.load(open(jso 阅读全文
posted @ 2021-06-02 18:10 鹅要长大 阅读(2713) 评论(0) 推荐(0)

2021年6月1日

摘要: 参考 1. 三眼鸭的编程教室; 2. zhihu; 完 阅读全文
posted @ 2021-06-01 18:09 鹅要长大 阅读(52) 评论(0) 推荐(0)
摘要: 操作步骤: 1. 使用标注工具生成标注文件; 博主使用labelme开源工具标注文件; labelme的安装和使用清参考here; 2. 基于标注数据文件和样本图片生成对应的json目录; 每个样本文件生成的json目录包含的内容有原图/ img.png: 对应的局部的jpg原图文件,训练时要用 l 阅读全文
posted @ 2021-06-01 18:07 鹅要长大 阅读(630) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 54 下一页

导航