logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

tensorflow中使用GPU的设置方法

方法一:Config=tf.ConfigProto(allow_soft_placement=True)##:如果你指定的设备不存在,允许TF自动分配设备Config.gpu_options.allow_growth=True##动态分配内存sess=tf.session(config=config)方法二:gpu_options = tf.GPUOptions(allow_g...

from tensorflow.examples.tutorials.mnist import input_data报错

Traceback (most recent call last):File "D:\PyCharm Community Edition 2018.2.3\helpers\pydev\pydevd.py", line 1664, in <module>main()File "D:\PyCharm Community Edition 2018.2.3\helpers...

AttributeError: module 'tensorflow' has no attribute 'app'

tensorflow的版本是1.14.0下边这句报错import tensorflow as tfFLAGS = tf.app.flags.FLAGSFile "E:\CNN\chengxu\SVM-CNN-12.22\lib\network\resnet_cifar.py", line 9, in <module>from lib.config.conf...

linux创建虚拟环境的三种方法

参考:https://www.it610.com/article/1289813804288385024.htm1.方式1:下载Anconda3 安装2.方式2:下载安装virtualenv3.方式3:下载安装 virtualenvwrapper这里用到方式3)下载 pip install virtualenvwrapper2)安装完成后,在~/.bashrc写入以下内容vim ~/.bashrc

#linux
u版yolov5输入大小

u版yolov5:模型的输入设置为(640,640),输入图片上1920*1080:3x1080x1920——等比例缩放——3x384x672——backbone——3x128x48x84和3x256x24x42和3x512x12x21——Detect——-transpose3x48x84x6和3x24x42x6和3x12x21x6后处理12096x6和3024x6和756x6求和得到15876x

#pytorch
yolov5数据增强、代码解读

yolov5中用到的数据增强方法:self.mosaic启用马赛克增强self.mosaic_border = [-img_size // 2, -img_size // 2]马赛克扩充albumentations.Blur(p=0.1),用一个随机尺寸的核来模糊图片albumentations.MedianBlur(p=0.1),使用中值滤波albumentations.ToGray(p=0.0

#计算机视觉#python#深度学习
docker,python离线安装第三方库使用总结

docker使用1.首先在输入网址,然后创建docker环境,创建的时候选择一个使用的python版本。2.创建完以后就可以在交互环境下进行安装库,跑程序了。python第三方库的安装从github上下载的程序一般有requirements.txt,这里有跑代码需要的依赖包。例如:# pip install -r requirements.txt# base -------------------

yolov5模型蒸馏

参考代码:https://github.com/Adlik/yolov5yolov5间的模型蒸馏,相同结构的。配置参数加载教师模型。

文章图片
#深度学习#人工智能
linux下查看显卡和驱动版本

$ lspci | grep -i vga17:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)65:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1

#linux
虚拟环境内pip install报错 TypeError: join() argument must be str or bytes, not ‘int‘

参考:https://blog.csdn.net/u013468614/article/details/115460030在虚拟环境中安装cv2,报错如下:pip install opencv-pythonException:Traceback (most recent call last):File "/home/zl/anaconda3/envs/tools/lib/python3.5/sit

#c++#计算机视觉#目标检测
    共 16 条
  • 1
  • 2
  • 请选择