- 博客(70)
- 资源 (17)
- 收藏
- 关注

原创 stable diffusion segment anything模型下载
stable diffusion segment anything 分割一切 模型下载
2024-03-07 20:21:48
1628

原创 mmdetection W&B 用wandb权重和偏差以进行记录
如题:共需要修改四个文件1.mmcv/runner/hooks/logger/__init__.pyfrom .pavi import PaviLoggerHookfrom .tensorboard import TensorboardLoggerHookfrom .text import TextLoggerHook from .wandb import WandbLoggerHook__all__ = [ 'LoggerHook', 'TextLoggerHook', 'Pav
2021-01-20 14:57:52
2588
3

原创 Yolov5权重 预训练模型 V4.0版本
首先用bash weights/download_weights.sh在主目录执行,下载模型要比直接去release快很多不过你可能更想要这个:链接:https://pan.baidu.com/s/1Wc1jpP-wcCKfwtWf-iNmlg提取码:v5wj四个模型都有
2021-01-20 13:37:49
3037

原创 【mmdetection】工具tools试用
1.日志分析analyze_logs.pyhttps://blog.youkuaiyun.com/jy1023408440/article/details/1057017052.可视化数据集browse_dataset.pypython tools/browse_dataset.py m1/faster_rcnn_r50_fpn_1x_coco.pyConfigDict' object has no attribute 'pipeline'报错,不过我用的voc格式的个人数据集3.模型...
2021-01-11 13:56:51
2654
1

原创 mmdetection[v2.6.0]训练自己的VOC数据集
步骤一:首先根据规范的VOC数据集导入到项目目录下,如下图所示:mmdetection├── mmdet├── tools├── configs├── data│ ├── VOCdevkit│ │ ├── VOC2007│ │ │ ├── Annotations│ │ │ ├── JPEGImages│ │ │ ├── train.txt│ │ │ ├── val.txt步骤二:修改config.py,在confi...
2020-11-25 17:04:49
3491
11

原创 [yolov4]yolov4.weights
版本:https://github.com/AlexeyAB/darknet权重链接:https://72k.us/file/26468910-439532813 提取密码:446792
2020-04-24 17:47:06
11339
7

原创 【google版efficientdet】官方版efficientdet训练自己的数据集,终于训练成功了
看全网还没有一篇攻略,本文是第一个,有心人当点赞下,有问题可以下方留言,互相交流。如转载请注明出处,不枉解决各种各样的bug环境:v100,cuda10.1,tensorflow2.1.0 ,python3.7.7(只保证这个版本是可行的,其他尝试了很多,报了各种匪(kan)夷(bu)所(dong)思的bug)我的数据集是iabelme标注的,文件格式是xml,所以要转成tf...
2020-04-20 17:15:22
7387
50

原创 【chineseocr_lite】踩的坑
chineseocr_lite版本:https://github.com/ouyanghuiyu/chineseocr_lite.git电脑环境:v100服务器,cudn10,python3.6编译报错错误:lto-wrapper: fatal error: g++ returned 1 exit statuscompilation terminated./usr/bin/ld:...
2020-03-26 15:55:20
7232
9

原创 tensorflow-yolov3版int8量化
本帖纯粹记录个人开发过程服务器环境V100服务器,ubuntu16.04 ,cuda10.0 tensorflow1.13.1 (tensorrt6.0.1.5记录)tensorflow-yolov3版本:https://github.com/YunYang1994/tensorflow-yolov3量化版本:https://blog.youkuaiyun.com/hh_2018/art...
2020-03-04 11:29:43
2481
1

原创 mmdetection 训练时不显示loss日志
直接上图:看日志文件,只输出到开始训练,显示最大epochs,后面的loss一直没有输出。但实际上训练已经完结。重点来了:原因:数据集太小,日志输出的epoch间隔太大,导致没有输出。解决方案:修改自己的配置文件,将log_config中interval从50调整到5.结果:...
2019-07-31 11:15:19
4731
5

原创 ubuntu系统,anaconda3安装后,命令行界面打开默认进入base环境解决办法
解决方案:命令行执行:(取消默认加载环境)conda config --set auto_activate_base false次级解决方案: 修改 vim ~/.bashrc,在最后加入conda deactivate,保存退出后,执行source~/.bashrc 另如果想打开命令行后默认进入某一目录,可在最后加入cd /目录 (例: cd...
2019-07-09 17:12:11
13165
2

原创 mmdetection训练自己的VOC数据集 label=self.cat2label 报错解决方案
废话不多说,直接上报错的图:看了GitHub上的大佬的回答,报错的原因是self.cat2label值不对,所以根据大佬的建议,我print了self.cat2label值,发现果然不对,类还是VOC数据集的类,而不是我自己的类,我的类是‘b4891338010542’.我确定mmdetection/mmdet/datasets/voc.py下classes已修改无误,但任然打印的类是VO...
2019-04-23 16:15:57
3758
17

原创 [cudnn报错解决]Loaded runtime CuDNN library: 7.0.5 but source was compiled with: 7.2.1.
ubuntu16.04 cuda9.0 cudnn7.0.5原本在一台服务器上跑没有问题,今天新配置了一个服务器发现报错了。Loaded runtime CuDNN library: 7.0.5 but source was compiled with: 7.2.1.以为是cudnn的问题,换成了7.2.1发现还是报错最后把TensorFlow的版本从1.11降为1.1...
2018-09-28 17:33:29
14282
8
原创 stable diffusion 使用animatediff 报错Motionmodule incompatible with SD. You are using SDXL with
与sdxl模型对应的animatediff模型名称为animatediffMotion_sdxlV10Beta.ckpt(需科。原因:使用了sdxl模型,但animatediff 加载的是sd1.5。
2024-04-22 22:35:09
1223
转载 chatgpt提问示例指南
请你充当一名论文编辑专家,在论文评审的角度去修改论文摘要部分,使其更加流畅,优美。能让读者快速获得文章的要点或精髓,让文章引人入胜;能让读者了解全文中的重要信息、分析和论点;帮助读者记住论文的要点字数限制在300字以下请你在摘要中明确指出您的模型和方法的创新点,强调您的贡献。用简洁、明了的语言描述您的方法和结果,以便评审更容易理解论文。
2023-07-04 10:58:44
1410
原创 python 读取数据出现UnicodeDecodeError:: ‘utf-8‘ codec can‘t decode byte 0xc8
编码问题解决。
2022-11-09 09:41:54
889
原创 [0x7FFE1E17E050] ANOMALY: meaningless REX prefix used cmd窗口activate报错
window cmd窗口下,激活conda虚拟环境,conda activate dl,提示先conda activate,执行conda activate 提示[0x7FFE1E17E050] ANOMALY: meaningless REX prefix used。用conda 自带的命令行窗口,打开自动加载base环境,再 激活想要的环境conda activate dl即可。初步查询是安全软件的问题,未最终定位。
2022-10-14 09:05:56
2571
原创 查看centOS相关信息
1.查看 CentOS 系统的版本cat /etc/redhat-release2.查看内核版本uname -a3.查看硬盘 df -ah4.查看目录大小du -sh /project5.查看内存 free -m6.查看cpucat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c #逻辑cpu cat /proc/cpuinfo | grep physical | uniq -c ..
2021-05-06 14:16:50
223
1
原创 python 常用代码块
1.计时import timestarttime = time.time()print('计时: ', round(time.time() - starttime, 0), '秒', end="\r\n")2.读文件with open('pi_digits.txt') as f: # readline()每一次读取一行数据,并指向该行末尾 line1 = f.readline() # 读取第一行数据(此时已经指向第一行末尾) line2 = f.readlin
2021-02-25 13:05:21
320
原创 yolov5 【v4.0】用自有数据集训练结果大比拼【5s,5m,5l,5x】补充版
1.P,R,mAP_0.5,mAP_0.5:0.95比较2.train参数比较:3.val参数比较:4.lr比较:总结:1.5s版本在mAP_0.5:0.95,train/box_loss,train/obj_loss,val/box_loss,val/obj_loss中比其他版本略差2.5m,5l,5x在本数据集的各指标基本一致,变化不大3.最优的化可以考虑5m版本(40.56MB),如果对精度要求不高,但要求实时的化还是5s版本,毕竟5s只有13.76MB.
2021-02-25 13:03:35
3457
原创 yolov5 【v4.0】用自有数据集训练结果大比拼【5s,5m,5l,5x,5shpy】
5s:python test.py --weights runs/train/exp9/weights/best.pt --data data/9.yaml --task test --save-json --iou-thres 0.5 模型大小:best.pt 13.76MB Class Images Targets P R mAP@.5 mAP@.5:.95 ...
2021-02-25 13:02:23
1684
原创 yolov4-csp,yolov4-mish,yolov4,yolov4-tiny用自有数据集训练结果大比拼
4nomal: max_batches = 18500模型大小:yolov4-custom_best.weights 244.32MB(next mAP calculation at 18658 iterations)Last accuracy mAP@0.5 = 99.63 %, best = 99.89 %18500: 0.359358, 0.281362 avg loss, 0.000010 rate, 4.044977 seconds, 1184000 images, 0.16...
2021-02-25 13:01:54
2387
1
原创 [mmdetection 混合精度]用fastrcnn实测混合精度fp16效果2
用官方检测工具测试:平均时间:0.0947/0.1298=0.72958map比较:faster_rcnn_r50_fpn_1x_coco.pyfp16训练后map:结论:map下降不明显,但平均训练时间降低了27%,fp16还是很好的。(使用个人数据集,数据仅供参考)...
2021-01-27 10:13:58
1249
1
原创 [mmdetection 混合精度]用fastrcnn实测混合精度fp16效果
先上对比图:原本训练效果:经过fp16混合精度训练效果:结果:1.GPU Menmory 4201MB/5853MB=0.71775 GPU-Util 0.66/0.74=0.891892.训练总时间: 1day 15:34/2day 4:00=2374/3120=0.760893.time ...
2021-01-27 10:13:35
3377
4
原创 mmdetection 环境配置mmcv和pytorch对照
版本一(old)mmdetection[v1.1.0]:python 3.7.9 Driver Version: 440.33.01 CUDA Version: 10.2mmcv 0.4.3mmdet 1.1.0+51df8a9 /root/data/ieemoo/mmdetectionnumpy 1.19.4torch 1.1.0torchvision 0.3.0...
2020-12-17 15:29:32
10159
5
原创 ubuntu 机器视觉常用命令
#查看显卡设备和显卡驱动ubuntu-drivers devices#自动安装合适显卡驱动sudo ubuntu-drivers autoinstall #查看gunicorn进程树pstree -ap|grep gunicorn#pytorch中查看gpu是否可用import torchtorch.cuda.is_available()#tensorflow中查看gpu是否可用import tensorflow as tfprint(tf.test.is_gpu_av..
2020-11-17 17:40:47
230
原创 【yolov5】v3.0版本 报错解决 ‘BatchNorm2d‘ object has no attribute ‘_non_persistent_buffers_set‘
上图:问题原因: 使用了旧的预训练模型解决方案: 重新下载yolov5s.pt等文件(这已经是我下载的第三次权重)注:2020-10-10下载的,v3.0版本,以后的版本不保证...
2020-10-10 11:16:28
2411
原创 百度开源PaddleOCR 超轻量级中文OCR模型,总模型仅8.6M 测试
版本:https://github.com/PaddlePaddle/PaddleOCR.git可以与同样轻量级的ocr识别比较,百度的要好一点。https://blog.youkuaiyun.com/jy1023408440/article/details/105201434
2020-09-14 18:04:00
2215
原创 AlphaPose测试运行效果
简易命令:./scripts/inference.sh configs/halpe_26/resnet/256x192_res50_lr1e-3_1x.yaml pretrained_models/halpe26_fast_res50_256x192.pth test.mp4原装命令:python scripts/demo_inference.py --cfg configs/coco/resnet/256x192_res50_lr1e-3_1x.yaml --checkpoint pretrai...
2020-09-09 15:19:15
1385
原创 mmdetection【2.3.0】RuntimeError: Error compiling objects for extension
解决方案:vim ~/.bashrc 添加export CUDA_HOME=/usr/local/cuda-10.0 source~/.bashrc错误:No module named 'mmcv._ext'解决方案:pip uninstall mmcvpip install mmcv-full
2020-07-22 16:34:59
10790
4
原创 安装cudnn8.0报错
错误如下:/sbin/ldconfig.real: /usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn.so.8 is not a symbolic link/sbin/ldconfig.real: /usr/local/cuda-11.0/targets/x86_64-linux/lib/libcudnn_adv_train.so.8 is not a symbolic link/sbin/ldconfig.real: /usr/loc
2020-07-10 18:04:37
6026
原创 yolov3-tiny,yolov4,yolov5用自带数据集进行比较
类别100类每类300张图片测试图片1087张,阀值0.5 ,预测正确yolov3-tiny yolov4 yolov5 737 955
2020-07-07 17:26:02
10447
5
原创 torch.cuda.is_available()
可能问题1:cuda 与 torch 版本不对应可能问题2:安装的torch是cpu版本,或者无cuda版本可能问题3:torch的关联包未安装解决方案:使用conda重新安装conda install pytorch torchvision cudatoolkit=10.1 -c pytorch10.1是cuda版本号conda 不仅会安装torch,还会安装关联包...
2020-06-22 11:13:18
4213
原创 批处理sh和sed相关使用说明
0.批处理文件抬头:#!/bin/bash1.bash test.sh 参数1 参数2可以用$1,$2获取,并用echo输出到控制台2.注释方法:单行用#,多行用 :<<! 多行 !3.sed 删除固定行数据sed -i "11d " test.py 删除test.py中11行数据注:test.py与test.sh在同级目录下4.sed 修改固定行数据sed -i "11i imgdirpath=\'$1\'" test.py注:双引号...
2020-06-18 15:28:02
626
原创 sed 替换后自动换行问题
情况如下:文本内容如下:sh文件如下:执行命令如下:bash test.sh jfj jy/yolov3/dark/520_9解决方案:sh文件中,sed -i 's/520_1/'${2##*/}'/g' voc.data直接用$2变量,不要重新赋值新变量
2020-06-18 14:41:46
1720
cmake-3.16.6-Linux-x86_64.tar.gz
2020-04-27
yolov4.weights
2020-04-24
opencv_python-4.1.0-cp36-cp36m-win_amd64.whl
2019-07-08
opencv_python-3.4.1+contrib-cp35-cp35m-win_amd64.whl
2018-07-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人