「 AI 」 六月 16, 2024
【译】向量搜索的相似度度量
文章字数 7.4k 阅读约需 7 mins.
「 AI 」 六月 16, 2024
文章字数 7.4k 阅读约需 7 mins.
「 AI 」 六月 16, 2024
文章字数 7.4k 阅读约需 7 mins.
「 PYTHON 」 五月 12, 2024
文章字数 6.2k 阅读约需 6 mins.
简单聊聊旋转验证码攻防 中介绍了一些旋转验证码的攻防思路,并提供了 rotate-captcha-crack 实现。
README 文档的 Prepare 部分提到需要支持 CUDA10+
的设备(GPU),经实测,在 Windows CPU 环境下也可使用,且性能基本满足需求。
为在 Windows CPU 环境执行 test_captcha.py
脚本验证旋转角度预测效果,以及通过 server.py
发布 HTTP 服务,需对仓库中代码进行以下 调整:
diff --git a/rotate_captcha_...
查看全文
「 MAC 」 五月 05, 2024
文章字数 7.8k 阅读约需 7 mins.
想在 macOS 上实现如下效果:
注:本文使用的脚本在 macOS Monterey 12.7.4 上测试通过,其他系统版本可能存在一些差异。
scroll-direction-trackpad.applescript
tell application "System Preferences"...
查看全文
「 SPRING 」 四月 27, 2024
文章字数 8.1k 阅读约需 7 mins.
你的请求映射方法中是否有多个用 @RequestParam
注解的参数?是否感觉它们影响了易读性?
当请求只有一两个入参时,这个注解看起来非常直观,但是当参数列表变长时,你可能会感到不知所措。
你不能在对象内部使用 @RequestParam
注解,但这并不意味着你没有其他解决方案。在这篇文章中,我将向你展示 如何在 Spring 应用中将多个请求...
「 BOOK 」 四月 21, 2024
文章字数 65k 阅读约需 59 mins.
https://book.douban.com/subject/35470134/
查看全文Domain-driven design (DDD) proposes to attack the root cause for failed software projects from a different angle. Effective communication is the central theme of the domain-driven design tools and practices ...
「 AI 」 四月 14, 2024
文章字数 8.8k 阅读约需 8 mins.
在可以访问外网的环境中,准备一个工作目录(如:/data/work
),在这个目录下进行后续操作。
拉取 ModelScope-Agent 镜像,镜像中已经安装好所需依赖。
docker pull registry.cn-hangzhou.aliyuncs.com/modelscope-repo/modelscope-agent:v0.3....
查看全文