04 2021 档案

摘要:一些打印代码: caffe.proto里面关于LayerParameter的描述 message LayerParameter { optional string name = 1; // the layer name optional string type = 2; // the layer t 阅读全文
posted @ 2021-04-28 20:27 无左无右 阅读(48) 评论(0) 推荐(0) 编辑
摘要:1.senet SE模块主要为了提升模型对channel特征的敏感性,这个模块是轻量级的,而且可以应用在现有的网络结构中,只需要增加较少的计算量就可以带来性能的提升。 https://zhuanlan.zhihu.com/p/65459972/ https://www.cnblogs.com/bon 阅读全文
posted @ 2021-04-25 16:24 无左无右 阅读(68) 评论(0) 推荐(0) 编辑
摘要:活久见的c++语法问题。 对于全局变量,只能初始化,不能赋值。 std::string path_wts; path_wts = "/data_1/everyday/0419/psenet/psenet0419.wts"; 在全局范围内这么写居然编译不过!报错如下: error: ‘path_wts 阅读全文
posted @ 2021-04-19 11:14 无左无右 阅读(98) 评论(0) 推荐(0) 编辑
摘要:what(): PyTorch is not linked with support for cuda devices Exception raised from getDeviceGuardImpl at /data_1/code/Libtorch/pytorch_1.7.1/c10/core/i 阅读全文
posted @ 2021-04-14 16:22 无左无右 阅读(863) 评论(0) 推荐(0) 编辑
摘要:# cuda10.0 include_directories(/usr/local/cuda/include) link_directories(/usr/local/cuda/lib64) # tensorrt 7.0.0.11 set(TENSORRT_ROOT ${CMAKE_SOURCE_D 阅读全文
posted @ 2021-04-13 10:12 无左无右 阅读(300) 评论(0) 推荐(0) 编辑
摘要:from PIL import Image,ImageDraw,ImageFont image = Image.open("/data_2/dog1.jpg") text = "仅供授权证明用,他用无效 \n有效期:20210401-20210430" font=ImageFont.truetype 阅读全文
posted @ 2021-04-01 10:52 无左无右 阅读(101) 评论(0) 推荐(0) 编辑