会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不能说的秘密
Hell is other people
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
17
下一页
2023年7月5日
faiss 使用记录
摘要: ```python import sys import faiss import numpy as np d = 64 nb = 100 nq = 10 np.random.seed(1234) xb = np.random.random((nb,d)).astype('float32') prin
阅读全文
posted @ 2023-07-05 15:28 不能说的秘密
阅读(109)
评论(0)
推荐(0)
2023年6月8日
modelscope记录
摘要: https://www.modelscope.cn/models/damo/cv_hrnetw48_human-wholebody-keypoint_image/summary
阅读全文
posted @ 2023-06-08 17:34 不能说的秘密
阅读(80)
评论(0)
推荐(0)
2023年4月21日
meta seg_anything and grounding_dino
摘要: https://github.com/IDEA-Research/GroundingDINO https://github.com/facebookresearch/segment-anything
阅读全文
posted @ 2023-04-21 17:36 不能说的秘密
阅读(99)
评论(0)
推荐(0)
2023年2月1日
python 图片相似度 SSIM
摘要: import cv2 import numpy as np from skimage.metrics import structural_similarity import imutils def image_similarity(img1, img2): """ :param img1: 图片1
阅读全文
posted @ 2023-02-01 15:42 不能说的秘密
阅读(913)
评论(0)
推荐(0)
2023年1月29日
python re 获取筛选文本下标
摘要: [[index, index + len(value) - 1] for index in [_.start() for _ in re.finditer(value, corrected_text)]]
阅读全文
posted @ 2023-01-29 14:41 不能说的秘密
阅读(25)
评论(0)
推荐(0)
2023年1月9日
python thread+queue
摘要: # -*- coding: utf-8 -*-# import threading import time from queue import Queue def do(name): print(name) time.sleep(0.1) def task(name): if not message
阅读全文
posted @ 2023-01-09 16:25 不能说的秘密
阅读(44)
评论(0)
推荐(0)
2022年12月28日
3d 点云格式转换 binary ascii binary_compressed
摘要: import shutil from pathlib import Path from traceback import format_exc from log_color.log_color import Logger from progress.bar import IncrementalBar
阅读全文
posted @ 2022-12-28 16:38 不能说的秘密
阅读(626)
评论(0)
推荐(0)
2022年12月23日
yolov7 ob/seg/pose detect
摘要: https://gitee.com/yunhgu/yolov7.git
阅读全文
posted @ 2022-12-23 11:03 不能说的秘密
阅读(74)
评论(0)
推荐(0)
wav to pcm 和 pcm to wav
摘要: wav2pcm import numpy as np def wav2pcm(wav_file, pcm_file, data_type=np.int16): f = open(wav_file, "rb") f.seek(0) f.read(44) data = np.fromfile(f, dt
阅读全文
posted @ 2022-12-23 10:55 不能说的秘密
阅读(75)
评论(0)
推荐(0)
2022年10月28日
python获取文本相似度
摘要: from difflib import SequenceMatcher def text_similar_rate(text1, text2): """ :param text1: 文本1 :param text2: 文本2 :return: 相似度 """ return SequenceMatch
阅读全文
posted @ 2022-10-28 17:20 不能说的秘密
阅读(67)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
17
下一页
公告