logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

使用YOLOP进行目标检测和分割

使用YOLOP跑通目标检测和分割:进行2类(美工刀+打火机)目标检测和三类的语义分割(背景类+美工刀+打火机)

#目标检测#深度学习#计算机视觉
pytorch:安装

在conda中一键安装pytorch

目标检测 YOLOV5:loss介绍

BCEWithLogitsLoss和FocalLoss的源码和数学推理介绍

caffe模型转pytorch模型

转换基本流程:1)创建pytorch的网络结构模型;2)利用caffe来读取其存储的预训练模型,用于读取caffe模型的参数;3)遍历caffe加载的模型参数;4)对一些指定的key值,需要进行相应的处理和转换;5)对修改后的层名(key值),利用numpy之间的转换来实现加载;6)对相应层进行参数(feature)进行比较;以下以SE_Resnet50为例,将caff...

#pytorch#caffe
pytorch中提取任意层特征

个人总结,pytorch中提取任意层的feature有两种方法,这两种方法是根据网络构建的方法不同而产生的;首先来介绍第一种:以mobileFaceNet为例,看一下mobileFace构建的网络代码:class MobileFaceNet(Module):def __init__(self, embedding_size,class_num):super...

#pytorch
pytorch训练报错:ValueError: Expected more than 1 value per channel when training

1.ValueError: Expected more than 1 value per channel when training, got input size [1, 512, 1, 1](参考:https://blog.csdn.net/sinat_39307513/article/details/87917537)出现 ValueError: Expected more than...

#pytorch
遇到问题:ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29‘ not found (requ

报错:ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/fxp/fxp/envs/paddle/lib/python3.9/site-packages/scipy/spatial/ckdtree.cpython-39-x86_64-

文章图片
#linux#gnu#运维
ubuntu 好用的桌面小工具

1.pdf阅读器okularsudo apt-get install okularsudo apt-get install kde-l10n-zhcn2.桌面壁纸更换Varietysudo add-apt-repository ppa:peterlevi/ppasudo apt-get updatesudo apt-get install variety3.小便签Sticky Notes Indi

#ubuntu
rnn蒸馏(1):RuntimeError: cudnn RNN backward can only be called in training mode

注:对于含有rnn的模型怎样设置参数不回传在模型蒸馏的常规训练中,大模型的参数都是设置不更新回传,使用self.model_T.eval()就可以达到固定大模型参数的效果;但是当模型网络结构中包含有rnn,例:class BidirectionalLSTM(nn.Module):def __init__(self, nIn, nHidden, nOut):super(BidirectionalLS

#rnn
    共 25 条
  • 1
  • 2
  • 3
  • 请选择