recognize-anything icon indicating copy to clipboard operation
recognize-anything copied to clipboard

A question on embedding

Open Researcher-DL opened this issue 10 months ago • 0 comments

Hi @xinyu1205 Thanks for the paper, the codes and all the replies here!

I have read the issues in embedding but still not sure if RAM++ infernce.py could be used (with no additional coding) for an arbitrary folders of just images?? I only want to store embedding of RAM++ on some images. Is it possible to just change the path for --dataset?

python batch_inference.py \
  --model-type ram_plus \
  --checkpoint pretrained/ram_plus_swin_large_14m.pth \
  --dataset openimages_common_214 \
  --output-dir outputs/ram_plus

Researcher-DL avatar May 01 '24 10:05 Researcher-DL