上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 73 下一页
摘要: 转:python数学建模之用optimize.linear_sum_assignment解决模型优化之指派问题_嗨,紫玉灵神熊的博客-CSDN博客 阅读全文
posted @ 2023-07-28 17:10 Picassooo 阅读(909) 评论(0) 推荐(0)
摘要: import torch box = torch.tensor([ # 边界框的坐标,(x1, y1, x2, y2). box'shape: (3, 4) [0.1, 0.2, 0.5, 0.3], [0.6, 0.6, 0.9, 0.9], [0.1, 0.1, 0.2, 0.2] ]) whw 阅读全文
posted @ 2023-07-25 12:07 Picassooo 阅读(148) 评论(0) 推荐(0)
摘要: 18本经典人物传记推荐 阅读全文
posted @ 2023-07-23 16:48 Picassooo 阅读(79) 评论(0) 推荐(0)
摘要: 两个boxes之间的iou计算: import numpy as np def iou(box1, box2): x1, y1, x2, y2 = box1 w1, h1, w2, h2 = box2 left_max = max(x1, w1) right_min = min(x2, w2) to 阅读全文
posted @ 2023-07-15 12:22 Picassooo 阅读(908) 评论(0) 推荐(0)
摘要: 本文摘自: (三十六)通俗易懂理解——ROI Align的基本原理及rpn与rcnn head锚框标签制作 - 知乎 (zhihu.com) 双线性插值(超级易懂的)_双线性内插法计算公式举例-CSDN博客 阅读全文
posted @ 2023-07-11 19:48 Picassooo 阅读(51) 评论(0) 推荐(0)
摘要: python 在图像上画矩形框并保存的几种方式 使用opencv画框的方法: img_path = './test.jpg' img = cv.imread(img_path) # rectangle 坐标的参数格式为左上角(x1, y1),右下角(x2, y2),所有坐标必须是整型。 cv.rec 阅读全文
posted @ 2023-07-10 14:18 Picassooo 阅读(714) 评论(0) 推荐(0)
摘要: 例如: i = 12 s = str(i).zfill(4) print(s) # 输出:0012 阅读全文
posted @ 2023-07-10 10:06 Picassooo 阅读(50) 评论(0) 推荐(0)
摘要: 本文摘自:知乎 用Pytorch中查看GPU信息 1. 返回当前设备索引 torch.cuda.current_device() 2. 返回GPU的数量 torch.cuda.device_count() 3. 返回gpu名字,设备索引默认从0开始 torch.cuda.get_device_nam 阅读全文
posted @ 2023-06-16 23:40 Picassooo 阅读(436) 评论(0) 推荐(0)
摘要: 需注意事项包括: 是否有电梯 是否合租,室友怎么样 水压是否足够 窗外环境是否吵闹 是否紧邻大马路 小区的安全状况 周围是否有施工建筑 手机信号、网络情况 水电费是否民用 能否短租 能否转租 交租方式,争取月付,尽量不要季付 房间门隔音效果怎么样 房间是否潮湿,空气中有没有霉味、异味,床板、衣柜、墙 阅读全文
posted @ 2023-06-16 18:41 Picassooo 阅读(39) 评论(0) 推荐(0)
摘要: 在tmux中,ctrl+c 和ctrl+v无法进行复制粘贴。 按住shift可以恢复鼠标右键快捷模式,如下图所示,然后就可以选择复制或粘贴了。 阅读全文
posted @ 2023-06-13 21:10 Picassooo 阅读(3736) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 73 下一页