Registry / ai-ml / rf-clip

rf-clip

JSON →
library1.1pypypiunverified

A library for performing inference with RF-CLIP (Risk Factor CLIP) models. Integrates CLIP-based vision-language understanding with risk factor analysis. Latest version: 1.1. Release cadence: infrequent.

pip install rf-clip
INSTALL
IMPORT
SIG · RF-CLIP
R
rf-clip
ai-mlpythonv1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RFCLIP
from rf_clip import RFCLIP
from rfclip import RFCLIP
Package uses underscore, not hyphen.

Basic usage: load the model and run inference on an image and text prompt.

from rf_clip import RFCLIP model = RFCLIP() result = model.predict(image_path='path/to/image.jpg', text='a risky scenario') print(result)
Debug
Known issues
deprecatedThe 'predict' method signature may change; check version notes for parameter deprecations.
fix
Always refer to the latest API docs for the correct parameters.
affects: <=1.1
gotchaImport must use underscore 'rf_clip' not hyphen 'rf-clip'.
fix
Use 'from rf_clip import ...' even though the package is pip installed as rf-clip.
affects: all
Upgrade
Version history
1.1latest on PyPI · released Aug 9, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
rf-clip — pip install rf-clip · libregistry