- 博客(6)
- 收藏
- 关注
原创 RuntimeError: multi-target not supported at /opt/conda/conda-bld/pytorch_1549635019666/work/aten/src
1. 出错代码行计算交叉熵是出现异常提示:RuntimeError: multi-target not supported at /opt/conda/conda-bld/pytorch_1549635019666/work/aten/src/THNN/generic/ClassNLLCriterion.c:21loss = criterion(prediction, target)2. ...
2019-09-18 18:46:03 14518 5
原创 【异常】AttributeError: module 'numpy' has no attribute 'integer'
1. 问题描述:执行>> tensorboard --logdir run时,错误提示:AttributeError: module ‘numpy’ has no attribute ‘integer’2. 解决方案:更新 numpy>> conda install numpy...
2019-09-09 18:39:43 6300
原创 【异常】tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.3
1. 问题描述:pip 安装 tensorflow 时,出现异常提示,具体如下:pip install tensorflow出现如下错误提示(setuptools 版本太旧 , wrapt 不能卸载):tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.3 wh...
2019-09-09 16:28:05 26678 29
原创 VOC xml 标签 中的 值修改
修改 name 为 i4 的object 的 bndbox 的值import osimport xml.etree.ElementTree as ET# 修改VOC数据集中xml标签文件的值rfile = "1.xml" # 有内容的wfile = "2.xml" tree = ET.parse(rfile) # 读文件root = tree.getroot()Obje...
2019-09-08 21:25:05 450
原创 Git学习笔记 3,文件上传 pull push clone
文章目录将本地SSH 关联到 github在github 上新建一个库,gitclone 到本地,修改本地文件后上传到 github.将本地文件上传到github 已经建好的仓库里去将本地SSH 关联到 githubapt-get install git # 安装 gitgit config --global user.name "yangzhaonan18" # 添加个人信息gi...
2019-09-07 19:34:02 198
原创 YOLO v3 中关于 anchor 的 k-means 聚类代码
1. k-means 聚类代码我使用的代码是:https://github.com/lars76/kmeans-anchor-boxes另一个代码是:https://github.com/qqwweee/keras-yolo3/blob/master/kmeans.py输入是存放 xml标签文件的文件夹:只需要更改 example.py 中的一行代码:ANNOTATIONS_PATH =...
2019-09-06 10:05:26 5346 16
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人