- 博客(4)
- 收藏
- 关注
原创 安装spacy使出现问题error: command ‘gcc‘ failed: No such file or directory
【代码】安装spacy使出现问题error: command ‘gcc‘ failed: No such file or directory。
2024-07-16 21:41:27 98
原创 python生成分类问题的LIST标签json文件
python生成分类问题LIST的json文件import osimport jsonimport globdef get_annotation_dict(input_folder_path): label_dict = {} image_set = [] annonation_set = [] # 主目录 father_file_list = os.listdir(input_folder_path) # class 目
2021-10-13 19:09:15 200
原创 linux非root安装ninja
linux下非root权限安装ninjaRuntimeError: Ninja is required to load C++ extensions,解决1.第一步安装re2chttps://github.com/skvadrik/re2c/releases/download/1.3/re2c-1.3.tar.xz,直接下载。解压 tar xvf re2c-1.3.tar.xz进入到目录,执行autoreconf -i -W all错误:bash: autoreconf: command not
2021-10-13 18:51:06 2511 1
原创 python读取文件夹内文件个数
import ospath = ‘E:\yingxie\s_seg_1’print(‘filenum:’,len([lists for lists in os.listdir(path) if os.path.isfile(os.path.join(path, lists))]))
2019-10-11 10:13:22 2012
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人