Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funmodel

funmodel 是 farfarfun 组织下多媒体/AI 模型系列包(funmodel-dwposefunmodel-mivolofunmodel2 等)的公共基础库,提供预测模型的统一基类(本地缓存目录管理、图像预测接口)以及图像编解码等工具函数,各扩展包通过 PEP 420 命名空间包机制挂载到 funmodel 下。

安装

uv pip install funmodel

最小可运行示例

from funmodel.core.predict.image import ImagePredictModel

model = ImagePredictModel(model_name="demo")
print(model.cache_path)  # ~/.funmodel/demo

result, image = model.predict(image=None)

关于 farfarfun

farfarfun 是一个专注于实用工具库的开源组织, 涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。

本项目基于 MIT 协议开源。

About

funmodel 系列推理包的公共基础库:定义 PredictModel 推理基类与模型缓存目录约定,并提供图像变换、URL 取图和摄像头帧队列等共用工具。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages