ArrowLuo / CLIP4Clip

An official implementation for "CLIP4Clip: An Empirical Study of CLIP for End to End Video Clip Retrieval"
https://arxiv.org/abs/2104.08860
MIT License
851 stars 121 forks source link

run simple inference #92

Open jdso1988 opened 1 year ago

jdso1988 commented 1 year ago

1.Is there a simple example to run an inference Eg: python infer.py --model --input 'red car', and return the video(s) or url(s) or something like that.

  1. Is it possible to get the embeddings?
ArrowLuo commented 1 year ago

Hi @jdso1988

  1. We do not write such a tool, but it is easy to implement referring to the branch of --args.do_eval in main_task_retrieval.py#L577
  2. I think it is the same as the first question. Best~
Hyungson commented 1 month ago

hi! have you solved this problem? I want to run inference with my own dataset