惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
D
Docker
有赞技术团队
有赞技术团队
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
爱范儿
爱范儿
H
Help Net Security
美团技术团队
MyScale Blog
MyScale Blog
B
Blog RSS Feed
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
G
Google Developers Blog
月光博客
月光博客
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Blog — PlanetScale
Blog — PlanetScale
MongoDB | Blog
MongoDB | Blog
F
Fortinet All Blogs

StudyingLover's Blog

Diffusion Policy笔记 rwkv笔记 act笔记 nanovllm-block_manager opencode多智能体 nanobot-pre-train nanobot-rl nanobot-sft nanobot-checkpoint_manager nanobot-gpt nanobot-mid-train Vision Mamba (Vim)笔记 BPE演示 最后一遍学习Transformer YOLOv5 目标检测笔记 下载根服务器解析记录 Dynaseal A Backend-Controlled LLM API Key Distribution Scheme with Constrained Invocation Parameters 判断链表有环 王道25数据结构勘误 关于perplexity的open-sourcing-r1-1776 AI为什么不像人类一样进行多轮对话 新博客改造日记和功能测试 linuxqq只显示登陆背景图 数字设计和计算机体系结构(机械工业出版社)勘误(自制) Dynaseal:面向未来端侧llm agent的llm api key分发机制 A Definitive Guide to Markdown Style This post is using MDX, Where you can embed JSX and Astro components RT-Patch学习 pydantic实现的LLM ReAct fastapi 和 uvicorn 设置监听 ipv6
MediaPipe即将推出图像生成服务
About the Author StudyingLover · 2023-08-24 · via StudyingLover's Blog

MediaPipe即将推出图像生成服务

今天我逛GitHub Trending的时候突然发现MediaPipe的示例库被顶到了前排 image.png

这不对劲,我赶紧去mediapipe的储存库,发现7个小时前Google推送了新的内容 ImageGenerator Java API image.png

原来MediaPipe也要推出文字生成图片内容啊,还是移动端设备上的,这让我想起来GitHub最近有人开始写stable-diffusion.cpp,一个使用了ggml量化加速的sd。

顺藤摸瓜我们可以找到MediaPipe的文档image.png

还是即将推出状态,但是给了一个简单示例。

用法超级简单,就是下载下面几个模型中的一个

安装依赖

pip install torch typing_extensions numpy Pillow requests pytorch_lightning absl-py

把这个文件copy下来,地址

然后

python3 convert.py --ckpt_path <ckpt_path> --output_path <output_path>

接着将文件夹内容<output_path>推送到 Android 设备。

adb shell rm -r /data/local/tmp/image_generator/ 

adb shell mkdir -p /data/local/tmp/image_generator/

adb push <output_path>/. /data/local/tmp/image_generator/bins

安装 Android 演示应用程序,在这里下载

adb install imagegenerator.apk