08 2021 档案

摘要:Fcos: Fully convolutional one-stage object detection 锚框: gluon zhihu 阅读全文
posted @ 2021-08-26 10:12 zae 阅读(34) 评论(0) 推荐(0) 编辑
摘要:list(vocab.token_to_idx.items()) 先用items函数转换为键值对dict_items([('<unk>', 0),xxx对象,再用list转为list。 阅读全文
posted @ 2021-08-23 17:10 zae 阅读(598) 评论(0) 推荐(0) 编辑
摘要:runoob re.sub例子 re.sub(pattern, repl, string, count=0, flags=0) re.sub('[^A-Za-z]+', ' ', line).strip().lower() 匹配多个连续的非字母,将它们替换为空格。 连续多个+ 非^ 单个[] 字母A 阅读全文
posted @ 2021-08-23 16:45 zae 阅读(327) 评论(0) 推荐(0) 编辑
摘要:加入f之后,可以直接在字符串中填入需要替换的字符: print('# text lines: {len(lines)}') print(f'# text lines: {len(lines)}') output: # text lines: {len(lines)} # text lines: 32 阅读全文
posted @ 2021-08-23 16:36 zae 阅读(668) 评论(0) 推荐(0) 编辑
摘要:delete from如何修改和删除同一个表中的字段 delete from history where ind in (select a.ind from (select ind from history where year=2021 and group_id=3 and month=7) as 阅读全文
posted @ 2021-08-21 12:12 zae 阅读(990) 评论(0) 推荐(0) 编辑
摘要:torch.nn.Flatten()可以是Sequential模型的一层,torch中定义的是: def __init__(self, start_dim: int = 1, end_dim: int = -1) -> None: super(Flatten, self).__init__() se 阅读全文
posted @ 2021-08-04 21:25 zae 阅读(555) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示