- 博客(16)
- 收藏
- 关注
原创 The system is running in low-graphics mode
Ubuntu重启后出现ok之后出现这4个选项解决办法sudo apt-get updatesudo apt-get upgradesudo reboot
2021-03-08 19:13:09
206
原创 frcnn训练代码运行
pascal_voc.py中classes改为kitti中的两类运行trainval代码的问题Traceback (most recent call last): File "trainval_my.py", line 191, in <module> imdb.num_classes, training=True) File "frcnn-jwy/lib/roi_data_layer/roibatchLoader.py", line 54, in __init__
2021-02-02 16:00:47
639
原创 frcnn数据准备
把KITTI跟踪数据集的内容转换成VOC2007格式VOC2007的目录结构为:├── Annotations xml文件├── ImageSets txt文件└── JPEGImages 图片ImageSets/Main/文件夹下面存放了保存用于训练和测试图片名称的txt,包括train.txt, trainval.txt, test.txt, val.txt在frcnn的data文件夹下建立这个目录结构把KITTI的真值txt转换为xml格式,txt中的格式为我转换完后的xml
2021-01-30 11:16:26
199
原创 faster rcnn运行demo
master branchModuleNotFoundError: No module named ‘model.utils.cython_bbox’lib文件夹没有编译导致,需要运行python setup.py build_ext --inplace进行编译。model/utils/bbox.c:4:20: fatal error: Python.h: No such file or directory编译过程中出错,搜索博客有两个方法安装dev,运行后还是不行sudo apt-ge
2021-01-26 21:30:27
268
原创 ImportError: Cannot load backend ‘TkAgg‘ which requires the ‘tk‘ interactive framework
ImportError: Cannot load backend ‘TkAgg’ which requires the ‘tk’ interactive framework, as ‘headless’ is currently running原本的这个代码报错将 ‘TKAgg’ 改为 ’Agg’ 就没错啦
2020-09-19 10:25:38
13139
6
原创 Tracktor代码win10上的环境配置
conda中创建新环境按照requirements.txt安装包,遇到错误的先删掉安装lap和lapsolver时遇到错误 ERROR: Could not find a version that satisfies the requirement pytest-runner (from versions: none) ERROR: No matching distribution f...
2020-04-26 18:44:36
1187
2
原创 windows搜索目录下的字符串
在files目录下搜索“findstring”findstr /s /n "findstring" files\*/s 在当前目录和所有子目录中搜索/n 在每行前打印行数
2020-04-02 11:39:23
403
转载 跟踪和粒子滤波
转自基于粒子滤波的物体跟踪一直都觉得粒子滤波是个挺牛的东西,每次试图看文献都被复杂的数学符号搞得看不下去。一个偶然的机会发现了Rob Hess(http://web.engr.oregonstate.edu/~hess/)实现的这个粒子滤波。从代码入手,一下子就明白了粒子滤波的原理。根据维基百科上对粒子滤波的介绍(http://en.wikipedia.org/wiki/Particle_fil...
2019-03-24 10:49:44
184
原创 pytorch的dataloader
dataloader.py中_DataLoaderIter def __next__(self): if self.num_workers == 0: # same-process loading indices = next(self.sample_iter) # 一个batch中数据的index,列表一共有batch_size个值 ...
2019-03-13 20:43:28
212
原创 pycharm使用anaconda创建的虚拟环境
File-&amp;gt;Settings-&amp;gt;Project:[project名称]单击 project interpreter 后面的设置图标,选择“Add”选择existing environment,找到anaconda已创建的环境。我的环境保存路径为 C:\Users&amp;lt;用户名&amp;gt;.conda\envs\DAN...
2019-03-11 18:31:06
6714
3
原创 IndexError: invalid index of a 0-dim tensor.
代码中的这一句报错logging.info('iter ' + repr(iteration) + '||Loss: %.4f, lr: %.5f||Timer: %.4f sec.' % (loss.data[0], optimizer.param_groups[0]['lr'], t1 - t0))错误后有提示:Use tensor.item() to convert a 0-dim t...
2019-03-04 19:59:45
857
原创 python报错 OSError: [Errno 22] Invalid argument
问题Windows下,以w的模式打开文件报错 OSError: [Errno 22] Invalid argument: ‘D:\prir\TSSD-OTA-tssd-ota\weights\test\Mar_02_10:34:12_2019.log’错误原因:windows下文件的命名规范 文件名不允许使用的字符有: &lt; &gt; / \ | : " * ?...
2019-03-02 11:04:15
1370
4
原创 win10安装cudnn
1.下载在nvidia的cudnn主页下载对应版本的cudnn2.安装把下载后的压缩文件解压缩,分别将cuda/include、cuda/lib、cuda/bin三个目录中的内容拷贝到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0对应的include、lib、bin目录下...
2019-03-02 09:48:41
702
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人