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

2021年6月16日

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

2021年6月2日

摘要: 参考 1. open_mmlab_github; 2. mmsegmentation_github; 3. mmsegmentation_doc; 完 阅读全文
posted @ 2021-06-02 18:11 鹅要长大 阅读(1626) 评论(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 鹅要长大 阅读(2538) 评论(0) 推荐(0) 编辑

2021年6月1日

摘要: 参考 1. 三眼鸭的编程教室; 2. zhihu; 完 阅读全文
posted @ 2021-06-01 18:09 鹅要长大 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 操作步骤: 1. 使用标注工具生成标注文件; 博主使用labelme开源工具标注文件; labelme的安装和使用清参考here; 2. 基于标注数据文件和样本图片生成对应的json目录; 每个样本文件生成的json目录包含的内容有原图/ img.png: 对应的局部的jpg原图文件,训练时要用 l 阅读全文
posted @ 2021-06-01 18:07 鹅要长大 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 前言 模型部署的过程中,不同的硬件可能支持不同的模型框架,本文介绍pytorch模型文件转换为onnx模型文件的实现过程,主要是基于Pytorch_Unet的实现过程,训练模型转换为onnx模型,并测试onnx的效果; 操作步骤 1. 基于训练完成的pth文件转换为onnx模型; 2. check和 阅读全文
posted @ 2021-06-01 18:06 鹅要长大 阅读(7563) 评论(3) 推荐(0) 编辑

2021年5月28日

摘要: 前言 工作站上安装的jupyter,远程登录工作站之后,想要使用jupyter,需要配置远程登录。 步骤 1. 生成配置文件; 2. 设置密码; 3. 修改配置文件; 4. 远程登录测试; 具体操作 1. 生成配置文件 为了生成配置文件,需要使用下面的jupyter命令; $ jupyter not 阅读全文
posted @ 2021-05-28 18:08 鹅要长大 阅读(469) 评论(0) 推荐(0) 编辑

2021年5月19日

摘要: 前言 1. Labelme的安装 1.1 windows; 1.2 ubuntu; conda create -n labelme python=3.8 conda activate labelme pip install labelme conda remove -n labelme --all 阅读全文
posted @ 2021-05-19 17:44 鹅要长大 阅读(687) 评论(0) 推荐(0) 编辑

2021年4月28日

摘要: problem 892. Surface Area of 3D Shapes solution#1: code 注意,不是简单的投影面积的2倍; 参考 1. leetcode_easy_math_892. Surface Area of 3D Shapes; 2. Grandyang; 完 阅读全文
posted @ 2021-04-28 15:40 鹅要长大 阅读(33) 评论(0) 推荐(0) 编辑

2021年4月27日

摘要: problem 1636. Sort Array by Increasing Frequency solution#1: sort code 注意: 1. sort的用法,特别是第三个参数的使用; 2. lamda函数; 参考 1. leetcode_easy_array_1636. Sort Ar 阅读全文
posted @ 2021-04-27 23:57 鹅要长大 阅读(86) 评论(0) 推荐(0) 编辑
摘要: problem 1640. Check Array Formation Through Concatenation solution#1: code 参考 1. leetcode_easy_array_1640. Check Array Formation Through Concatenation 阅读全文
posted @ 2021-04-27 23:55 鹅要长大 阅读(27) 评论(0) 推荐(0) 编辑
摘要: problem 942. DI String Match solution#1: code 参考 1. leetcode_easy_math_942. DI String Match; 2. Grandyang; 完 阅读全文
posted @ 2021-04-27 23:54 鹅要长大 阅读(34) 评论(0) 推荐(0) 编辑
摘要: problem 1281. Subtract the Product and Sum of Digits of an Integer solution#1: code 参考 1. leetcode_easy_math_1281. Subtract the Product and Sum of Dig 阅读全文
posted @ 2021-04-27 14:15 鹅要长大 阅读(21) 评论(0) 推荐(0) 编辑
摘要: problem 1237. Find Positive Integer Solution for a Given Equation solution#1: two loop; code solution#2: binary search; code 参考 1. leetcode_easy_math_ 阅读全文
posted @ 2021-04-27 10:57 鹅要长大 阅读(48) 评论(0) 推荐(0) 编辑
摘要: problem 1317. Convert Integer to the Sum of Two No-Zero Integers solution#1:检查数值中是否含有字符0; code: solution#2: 通过判断除以10的余数来判断是否含有符号0; code: 注意,理解题目的意思,要求 阅读全文
posted @ 2021-04-27 09:36 鹅要长大 阅读(22) 评论(0) 推荐(0) 编辑

2021年4月26日

摘要: problem 1175. Prime Arrangements solution#1: 根据数值的范围直接给出范围内的素数进行计算; code solution#2: 求解素数的个数,然后求解素数和非素数的阶乘之积。 code: 注意1,两个int类型的数据相乘之后的数据范围及类型; 注意2,数据 阅读全文
posted @ 2021-04-26 23:22 鹅要长大 阅读(40) 评论(0) 推荐(0) 编辑
摘要: problem 1523. Count Odd Numbers in an Interval Range solution#1: 分别计算0到low-1和0到high的奇数数目,然后做差即可。 code solution#2:根绝high和low的奇偶性判断。 code 参考 1. leetcode 阅读全文
posted @ 2021-04-26 23:19 鹅要长大 阅读(54) 评论(0) 推荐(0) 编辑
摘要: problem 1025. Divisor Game solution#1: code 参考 1. leetcode_easy_math_1025. Divisor Game; 2. LeetCode.1025-除数游戏(Divisor Game); 3. 1025. 除数博弈(Divisor Ga 阅读全文
posted @ 2021-04-26 23:14 鹅要长大 阅读(58) 评论(0) 推荐(0) 编辑
摘要: problem 1009. Complement of Base 10 Integer solution#1:XOR. code 参考 1. leetcode_easy_math_1009. Complement of Base 10 Integer; 完 阅读全文
posted @ 2021-04-26 23:00 鹅要长大 阅读(43) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 53 下一页

导航