10 ShellCollector

尚未进行身份认证

终有一天,我会是一位计算机科学家

等级
TA的排名 32

pynvml 多gpu不能显示

pynvml 多gpu不能显示多个gpu时,只能显示一个gpu,解决方法,把cuda重新装。下面两种方法都能看有多少个gpu?import osimport pynvmlpynvml.nvmlInit()def usegpu(need_gpu_count=1): nouse = [] for index in range(pynvml.nvmlDevi...

2020-02-17 14:10:53

ffmpeg画框,写文字

int display::initFrameBuffer(int in_width, int in_height){ avfilter_register_all(); buffersrc = avfilter_get_by_name("buffer"); buffersink = avfilter_get_by_name("buffersink"); ...

2020-02-16 21:16:14

pytorch cpu占用较高

法一、torch.set_num_threads(int thread) (亲测比较有效)法二、exportOMP_NUM_THREADS=1 (未测)PyTorch 随机数生成占用 CPU 过高今天在使用 pytorch 的过程中,发现 CPU 占用率过高。经过检查,发现是因为先在 CPU 中生成了随机数,然后再调用.to(device)传到 GPU,这样导致效率变得...

2020-02-16 19:11:13

Can't create layer "289" of type "Squeeze" in function 'cv::dnn::dnn4_v20190902::LayerData::getLaye

Can't create layer "289" of type "Squeeze" in function 'cv::dnn::dnn4_v20190902::LayerData::getLayerInstance'

2020-02-16 09:24:43

yolov3 onnx

https://github.com/Rapternmn/PyTorch-Onnx-Tensorrt

2020-02-16 01:21:36

params.has("paddings") in function 'cv::dnn::PaddingLayerImpl::PaddingLayerImpl'

params.has("paddings") in function 'cv::dnn::PaddingLayerImpl::PaddingLayerImpl'我查出来是不支持平均池化层

2020-02-15 21:46:40

Unsupported format or combination of formats) Failed to parse onnx model

Unsupported format or combination of formats) Failed to parse onnx model

2020-02-15 20:59:05

operator did not match Pytorch's Interpolation until opset 11

operator did not match Pytorch's Interpolation until opset 11参考:https://blog.csdn.net/github_28260175/article/details/103436020解决办法警告信息已经完整说明,ONNX's Upsample/Resize operator did not match Pyto...

2020-02-15 20:26:28

eltwise_layer.cpp:170: error: (-215:Assertion failed) inputs.size() >= 2 in function 'cv::dnn::Eltwi

eltwise_layer.cpp:170: error: (-215:Assertion failed) inputs.size() >= 2 in function 'cv::dnn::EltwiseLayerImpl::getMemoryShapes'返回参数中,有乘法:一个是参数类型: nn.Parameter(torch.ones(1)),一个是te...

2020-02-15 15:48:11

torch转onnx错误

Process finished with exit code -1073741819 (0xC0000005)原因:self.p5_td_w1 = nn.Parameter(torch.ones(1))返回参数:returnself.p5_td_w1

2020-02-15 15:40:47

onnx KeyError: 'upsample_bilinear2d'

onnx KeyError: 'upsample_bilinear2d'解决方法:把上采样的bilinear换成可以支持的。

2020-02-15 14:48:35

pytorch转onnx

net = RetinaFace(cfg=cfg, phase = 'test') net = load_model(net, args.trained_model, args.cpu) net.eval() print('Finished loading model!') print(net) device = torch.device("cpu...

2020-02-15 13:06:05

opencv dnn face

https://github.com/AhnJG/AI-Project/tree/7f0b1c69f7b36b73a5a1f08add0dfd632d745841/Face_Detection/Dnnface_opencv4cvmlimport numpy as npimport cv2model = 'res10_300x300_ssd_iter_140000_fp16...

2020-02-14 23:00:23

opencv dnn 人脸 年龄

https://github.com/spmallick/learnopencv/blob/master/AgeGender/AgeGender.py# Import required modulesimport cv2 as cvimport mathimport timeimport argparsedef getFaceBox(net, frame, conf_th...

2020-02-14 22:45:33

Window远程桌面无法复制粘贴解决

Window远程桌面无法复制粘贴解决原创熊熊爱绵羊 最后发布于2018-10-11 10:54:34 阅读数 4386 收藏展开今日,通过远程桌面(mstsc)传输数据时,突然发现无法粘贴复制,这时,我查看了 远程桌面连接选项,发现已经勾选了 剪贴板 ,解决如下:远程服务器上重启 rdpclip.exe 进程即可。打开任务管理器,杀掉rdpclip.exe...

2020-02-14 22:01:35

It is a distutils installed project and thus we cannot accurately

It is a distutils installed project and thus we cannot accuratelyERROR: Cannot uninstall 'distlib'. It is a distutils installed project and thus we cannot accurately determine which files belo...

2020-02-14 20:26:58

graphviz.backend.ExecutableNotFound: failed to execute ['dot', '-Tpdf', '-O', 'Digraph.gv']

graphviz.backend.ExecutableNotFound: failed to execute ['dot', '-Tpdf', '-O', 'Digraph.gv'], make sure the Graphviz executables are on your systems' PATH

2020-02-14 12:20:20

torch打印网络结构

import torchfrom Pelee_network_v2 import PeleeNetdef make_dot(var, params=None): """ Produces Graphviz representation of PyTorch autograd graph Blue nodes are the Variables that requi...

2020-02-14 12:13:25

faceboxes笔记

开始的maxpooling不能去掉,去掉就变慢好几倍inception和reitnaface很像import torchimport torch.nn as nnimport torch.nn.functional as Fclass BasicConv2d(nn.Module): def __init__(self, in_channels, out_c...

2020-02-13 20:19:21

PaddleHub 口罩检测

网络简介:pyramidbox_lite_mobile_mask类别图像 - 目标检测网络PyramidBox数据集WIDER FACE数据集 + 百度自采人脸数据集pyramidbox_lite_server_mask类别图像 - 目标检测网络PyramidBox数据集WIDER FACE数据集 + 百度自采人脸数据集...

2020-02-13 15:49:59

查看更多

勋章 我的勋章
  • 专栏达人
    专栏达人
    授予成功创建个人博客专栏的用户。专栏中添加五篇以上博文即可点亮!撰写博客专栏浓缩技术精华,专栏达人就是你!
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 1024勋章
    1024勋章
    #1024程序员节#活动勋章,当日发布原创博客即可获得
  • 1024超级勋章
    1024超级勋章
    授予原创文章总数达到1024篇的博主,感谢你对CSDN社区的贡献,CSDN与你一起成长。
  • 勤写标兵Lv4
    勤写标兵Lv4
    授予每个自然周发布9篇以上(包括9篇)原创IT博文的用户。本勋章将于次周上午根据用户上周周三的博文发布情况由系统自动颁发。