随笔分类 -  深度学习-目标检测

摘要:1、argparse命令行参数 --weight 权重文件 --cfg 模型网络文件 --data 数据集文件 --hyp 超参数文件 此外还有--epochs、batch-size、resume、evolve、name、device='0,1'、adam、logdir=='./runs';这些读取 阅读全文
posted @ 2021-12-10 17:18 shines87 阅读(713) 评论(0) 推荐(0)
摘要:torch.utils.data分为三部分:Dataset、DataLoader、sampler.Sampler 一、Dataset部分 1、先看准备部分 ① def get_hash(files): # 输入[list of files_path],返回所有文件的大小总和 return sum(o 阅读全文
posted @ 2021-11-18 17:30 shines87 阅读(151) 评论(0) 推荐(0)
摘要:YOLOv5_DOTA_OBB-master | train.py | detect.py | evaluation.py | yolo_error_omit_analysis.py | polt_file_error_omit.py | test_mutil_eval.py | utils | g 阅读全文
posted @ 2021-11-17 13:43 shines87 阅读(366) 评论(0) 推荐(0)
摘要:参见 https://zhuanlan.zhihu.com/p/356416158 1.1、ImgSpliy.py 切图工具。 当然也切割了标签文件,这才是主要功能,子标签文件有可能为空文件 即没有目标;子图文件名记录了在原图中的位置信息和resize_rate. example | images 阅读全文
posted @ 2021-11-12 19:29 shines87 阅读(1213) 评论(0) 推荐(0)
摘要:接上https://www.cnblogs.com/shines87/p/15140744.html 一、代码整理 项目执行命令: object_detection>python model_main.py \ --logtostderr \ --model_dir=../image/ \ --pi 阅读全文
posted @ 2021-09-04 00:13 shines87 阅读(172) 评论(0) 推荐(0)
摘要:一、docker介绍 https://www.cnblogs.com/lart/p/13427331.html https://www.cnblogs.com/zhuyunbk/p/11661033.html 1、容器与镜像 容器是一个正在运行的进程,与主机 与其他容器保持隔离,每个容器都有自己的私 阅读全文
posted @ 2021-08-24 17:25 shines87 阅读(117) 评论(0) 推荐(0)
摘要:参考 https://www.cnblogs.com/zyly/p/8880894.html 运行环境:tf1 代码: # -*- coding: utf-8 -*- import tensorflow as tf import numpy as np import os import matplo 阅读全文
posted @ 2021-08-24 11:53 shines87 阅读(82) 评论(0) 推荐(0)
摘要:别看了,这玩意没有开源search code部分(没有架构搜索 只是个普通网络) , mobiledets原始论文,代码下载,训练模型下载:在object_detection\g3doc\tf1_detection_zoo.md找到ssd_mobiledet_cpu_coco。 在这个md文件中还能 阅读全文
posted @ 2021-08-14 14:11 shines87 阅读(540) 评论(0) 推荐(0)
摘要:window10 tf2 感想:在一番实验后,我不太愿意再按照这个.ipynb一步步运行了:因为这个文件没有放在research目录下,当执行from object_detection时就错了; 而且里面用到的模型路径也有点儿问题。我在models-master\research目录下输命令行做的! 阅读全文
posted @ 2021-08-14 11:54 shines87 阅读(217) 评论(0) 推荐(0)