会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
无左无右
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
28
下一页
2023年1月5日
caffe 保存blob值到txt,方便查看和pytorch比较
摘要: 在blob.hpp添加函数: void save_data_to_txt(const string path_txt, bool b_save_shape = true) { std::ofstream fOut(path_txt); if (!fOut) { std::cout << "Open
阅读全文
posted @ 2023-01-05 17:01 无左无右
阅读(31)
评论(0)
推荐(0)
2023年1月4日
caffe 打印出Forward 函数输入输出的shape
摘要: void MyLossLayer<Ftype, Btype>::Forward_cpu(const vector<Blob*>& bottom, const vector<Blob*>& top) { // bottom[0]: "depth" 1x1x36x64 // bottom[1]: "da
阅读全文
posted @ 2023-01-04 14:15 无左无右
阅读(27)
评论(0)
推荐(0)
2022年12月1日
centernet的数据增强操作--仿射变换
摘要: https://blog.csdn.net/yang332233/article/details/110164808?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522166988875516782428685782%2522%252C%
阅读全文
posted @ 2022-12-01 18:39 无左无右
阅读(218)
评论(0)
推荐(0)
2022年11月26日
pytorch torchvision.ops.roi_align 示例
摘要: import torchvision import torch input_ = torch.rand(3, 128, 24, 96) #[b,c,h,w] bbox = [[0,0.1,0.15,0.4,0.6], [0,0.1,0.15,0.4,0.6], [1,0.01,0.15,0.4,0.
阅读全文
posted @ 2022-11-26 22:43 无左无右
阅读(196)
评论(0)
推荐(0)
2022年11月22日
统计pytorch、caffe稀疏代码
摘要: #pytorch net = net_now() state_dict = torch.load(model_path, map_location=lambda storage, loc: storage) net.load_state_dict(state_dict, strict=True) #
阅读全文
posted @ 2022-11-22 14:24 无左无右
阅读(22)
评论(0)
推荐(0)
2022年11月16日
终端打印的保存本地日志
摘要: 曾几何时,我一直都是记忆的>> 可以保存终端打印的到本地txt 比如: who >> use 确实会在本地生成use文件,然后打开文本use就会有如下信息: algo tty7 2022-10-27 19:38 (:0) algo pts/21 2022-11-10 18:25 (10.188.18
阅读全文
posted @ 2022-11-16 20:32 无左无右
阅读(92)
评论(0)
推荐(0)
2022年11月4日
caffe 根据log画图 train-loss
摘要: 根据caffe训练打印的 I1102 20:42:49.268401 188 solver.cpp:352] Iteration 135020 (0.108123 iter/s, 92.4871s/10 iter), 114.5/13668.5ep, loss = 0.0899582 提取itera
阅读全文
posted @ 2022-11-04 14:39 无左无右
阅读(42)
评论(0)
推荐(0)
2022年10月28日
caffe python 不打印
摘要: 不打印如下信息 I1028 09:21:03.110215 5174 net.cpp:338] pool1 does not need backward computation. I1028 09:21:03.110217 5174 net.cpp:338] conv1_2/relu does no
阅读全文
posted @ 2022-10-28 09:21 无左无右
阅读(31)
评论(0)
推荐(0)
2022年10月25日
统计图像对比对、饱和度、亮度代码
摘要: import cv2 import os import numpy as np path_dir = "/data_1/everyday/20221014/pic/18-19-20/" list_img = os.listdir(path_dir) cnt = 0 contrast = 0 brig
阅读全文
posted @ 2022-10-25 10:44 无左无右
阅读(80)
评论(0)
推荐(0)
2022年10月21日
拷贝或者传输不想拷贝某文件夹命令
摘要: 不同机器远程传输文件, 在本地拷贝ip是11的机器上面文件。 这里不需要拷贝文件夹caffe-jacinto-sparse-deconv-new下面的文件夹0000和.build_release rsync -avp --exclude 0000 --exclude \.build_release
阅读全文
posted @ 2022-10-21 10:29 无左无右
阅读(35)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
28
下一页
公告