Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Use OpenAI CLIP for zero-shot image-text inference, prompt engineering, feature extraction, and responsible evaluation.
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
Use this skill when a task involves OpenAI CLIP: zero-shot image classification, image-text similarity, prompt template design, tokenization, CLIP image/text embeddings, linear-probe evaluation, or troubleshooting CLIP model loading.
clip.load, preprocessing, image-text logits, local checkpoints, JIT/device choices, and cache/download behavior, read model-loading-inference.clip.tokenize, context-length failures, zero-shot classifier weights, and prompt ensembling, read prompt-engineering..npz embedding outputs, similarity/search prototypes, linear probes, and responsible evaluation limits, read feature-evaluation.python scripts/validate_clip_runtime.py --json.clip, OpenAI CLIP, ViT-B/32, RN50, clip.load, clip.tokenize, encode_image, or encode_text.transformers.CLIPModel, SigLIP, BLIP, or another CLIP-like implementation rather than this package.Install PyTorch/torchvision first using the wheel or conda variant appropriate for the user's CPU/CUDA environment, then install CLIP and its lightweight text/tokenizer dependencies:
pip install ftfy regex tqdm
pip install git+https://github.com/openai/CLIP.git
Run a no-download import/tokenizer check before any checkpoint download:
python scripts/validate_clip_runtime.py --json
A healthy runtime imports clip, lists the nine released model names, tokenizes sample text to shape [n, 77], and reports that no checkpoint downloads were attempted.
clip.load("ViT-B/32") and other named models may download checkpoints if they are not cached; ask before triggering downloads in restricted, offline, or expensive environments.download_root= to point CLIP at a cache, or pass a local checkpoint path as name for strict offline workflows.clip.available_models() returns the released model names: RN50, RN101, RN50x4, RN50x16, RN50x64, ViT-B/32, ViT-B/16, ViT-L/14, and ViT-L/14@336px.clip.load(name, device=..., jit=False, download_root=None) returns (model, preprocess) for a named model or local checkpoint path.clip.tokenize(texts, context_length=77, truncate=False) returns a [number_of_texts, context_length] token tensor and raises on overlong prompts unless truncate=True.encode_image(image), encode_text(text), and model(image, text); the forward call returns image/text logit matrices derived from normalized cosine similarities.CLIP was released as a research model for studying robustness and zero-shot transfer. Model-card evidence warns that performance depends strongly on class taxonomy and prompts, that the model is English-oriented, and that deployment, surveillance, facial recognition, and sensitive demographic classification are out of scope without careful task-specific testing and safety review. Route evaluation and safety questions through feature-evaluation responsible guidance.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.
The English summary is being prepared. Showing the original description.
Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.
The English summary is being prepared. Showing the original description.
Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.
The English summary is being prepared. Showing the original description.
Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.
The English summary is being prepared. Showing the original description.
Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.
The English summary is being prepared. Showing the original description.