(4条消息) 目标检测---教你利用yolov5训练自己的目标检测模型_炮哥带你学的博客-CSDN博客_model.yaml path
下载了yolov5.5的数据集
复制粘贴修改data中voc.yaml,_命名为hat.yaml
复制粘贴修改models中yolov5s.yaml,命名为yolov5s-hat.yaml
utils路径下找到datasets.py这个文件,将里面的第81行里面的参数nw改完0
train中改数据weights、cfg、data、epoch.
epochs别搞太多了,两天运算了40轮。
(解决方法:下载cuda加速器,去安装gpu版pytorch)
11月12日19:14——11月15日10:14
问题的解决
出现的问题1:
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http:/