Run this model with HF Jobs

Run MahmoodLab/UNI 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/MahmoodLab/UNI. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/MahmoodLab/UNI 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.

UNI input image size during training

#21
by lely475 - opened

Dear Mahmood Lab Team,

Thank you for making UNI available.
I would like to understand at which input image size UNI was trained at.
From the UNI publication it appears to be 256 X 256 (for majority of iterations) and 512 X 512 (for high resolution fine-tuning at the end), however in the Huggingface docs an input image size of 224 X 224 pixels is suggested. Why is this the case?
Of course, ideally the ViT model should be able to generalize to varying sequence sizes, but replicating the train input image size seems like the most straight forward approach.

Looking forward to your reply.
Best,
Lydia

Hi all,

We also have encountered same confusion. Has there been a suggestion over this? Does it mean there is a 224x224 resize been applied over the 256x256 and 512x512 images?

Looking forward for any rely!

Thank you and Best,
Alex

Sign up or log in to comment