- 博客(6)
- 收藏
- 关注
原创 coco2014 dataset_coco.json格式
{"images": [ { "filepath": "val2014", "sentids": [770337, 771687, 772707, 776154, 781998], "filename": "COCO_val2014_000000391895.jpg", "imgid": 0, "split": "test", "sentences":[ {"tokens": ["a", "man", "with", "a", "red", "helmet.
2022-05-14 14:06:48
747
2
原创 allennlp whl文件下载网址
Links for allennlphttps://pypi.tuna.tsinghua.edu.cn/simple/allennlp/
2021-12-30 15:59:57
886
原创 ubuntu18.04-PackagesNotFoundError: The following packages are not available from current channels:
虚拟环境安装pytorch时报错,试了好几种方法:如删除https的s; 删除defaults;清华源等官网直接复制粘贴...最后.condarc文件粘贴下面的设置成功。channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/ - https://mirrors.tuna.tsi
2021-12-30 14:49:49
1211
原创 ubuntu18.04安装cudnn出现错误:FreeImage is not set up correctly. Please ensure FreeImae is set up correctly
安装的是cuda10.2对应的cudnn8.3.1。sudo apt-get install libfreeimage3 libfreeimage-dev
2021-12-29 19:03:23
2019
原创 C++ 提取字符串中的所有数字
基本思想:从字符串的0号位置开始寻找数字,开始设i=0,j=0。先找第一个数字,i不断后移,遇到数字,则j=i,j为数字的最高位,i继续后移直到字符不是数字位置;用len记录这个数字的位数;通过string.substr()获取该子串(数字);通过字符串流操作转换为整数型即可。字符串其余数字重复以上操作即可。若有更简便的方法,请大家不吝赐教#include<iostream>#include<vector>#include<string>
2020-09-08 15:28:24
24715
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人