摘要: # coding=utf-8 import sys sys.path.append('../yolov5') import torch weights_file = your_path+'best.pt' ckpt = torch.load(weights_file) print(type(ckpt 阅读全文
posted @ 2021-09-28 11:04 wxiaoli 阅读(1178) 评论(0) 推荐(0) 编辑
摘要: ## conda环境:https://www.cnblogs.com/wxiaoli/p/8830989.html ## 镜像安装lib:python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple [libname] 必备lib 阅读全文
posted @ 2020-06-11 16:55 wxiaoli 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 系统:win10 家庭中文版 按照系统更新通知对系统进行更新重启后,第三方软件死活用不了微软拼音,具体表现: 任务栏右击菜单->工具栏的下级菜单中没有 语言栏 选项; 系统设置里设置语言和输入法都无效; 卸载更新还是不行; 系统设置里的文本框输入时可以用快捷键切换到微软拼音,系统自带的Edge浏览器 阅读全文
posted @ 2020-05-16 12:21 wxiaoli 阅读(704) 评论(0) 推荐(0) 编辑
摘要: 1. 清理杂七杂八字符 2. 社交媒体文本中清除 @其他人 阅读全文
posted @ 2019-09-27 19:53 wxiaoli 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 文献管理工具必备的功能:word文档中插入文献引用,自动生成参考文献列表。 支持系统:windows, linux, macOS。 费用:免费提供300M以内文献库存储容量。 其他:支持笔记,条目附件,文献分类,直接调用搜索引擎,搜索引擎自助增减,...。 《🐖: 在有账号的情况下,软件支持多平台 阅读全文
posted @ 2019-09-27 19:25 wxiaoli 阅读(1540) 评论(0) 推荐(0) 编辑
摘要: 1. list的复制 直接用赋值符号实现浅复制,两者用id()函数的返回值是相同的,也就是占用同一块内存空间。 导入 copy 库, 用 copy.deepcopy(list1) 再赋值实现深复制,两者用id()函数的返回值是不同的,且分别有自己的内存空间。 如: 2. numpy.array的复制 阅读全文
posted @ 2019-08-31 18:29 wxiaoli 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 论文链接:https://aclweb.org/anthology/P18-1031 对文章内容的总结 文章研究了一些在general corpus上pretrain LM,然后把得到的model transfer到text classiffication上 整个过程的训练技巧。 这些技巧的切入点是 阅读全文
posted @ 2019-06-26 16:01 wxiaoli 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-12 20:42 wxiaoli 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1. 安装conda https://mirrors.tuna.tsinghua.edu.cn/anaconda/ 下载并安装。 2. 安装jupyter (1)在ananconda主环境安装:pip install jupyter (2)运行:jupyter notebook (3)配置默认根目录 阅读全文
posted @ 2019-04-03 13:30 wxiaoli 阅读(521) 评论(0) 推荐(0) 编辑
摘要: Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need[C]//Advances in Neural Information Processing Systems. 2017: 5998-6008. 文章提出纯粹基于atten 阅读全文
posted @ 2018-11-06 12:23 wxiaoli 阅读(3881) 评论(0) 推荐(1) 编辑