Run this model with HF Jobs

Run Salesforce/blip-image-captioning-large on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Salesforce/blip-image-captioning-large. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Salesforce/blip-image-captioning-large on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Get reproducable image features

#32
by dariendalw - opened

Hello, I am new at using ML models and am experiencing an issue with the BLIP model.
I want to use a pretrained BLIP model for image feature extraction. My goal is to see how the pretrained version works on my particular data. I do this using the get_image_features function. However when extracting feature vectors from images I get different feature vectors for the same image each time I run the feature extraction. How do I make the feature extraction reproducable? Also I get a warning saying that some weights from the Blip Model are not initialized, eventhough I am using the pretrained version ... I assume this is the source of my issue... How do I initialize the pretrained weights?
Thanks for any help!

Sign up or log in to comment