GithubHelp home page GithubHelp logo

Comments (8)

ZhangYuanhan-AI avatar ZhangYuanhan-AI commented on May 27, 2024

Already uploaded

from visual_prompt_retrieval.

chmxu avatar chmxu commented on May 27, 2024

Can you please provide some detailed instruction on how to run the code on these two tasks? Thanks!

from visual_prompt_retrieval.

chmxu avatar chmxu commented on May 27, 2024

Sorry to bother you again, I wonder if featextrater_det.py is used for unsupervised feature extraction and featextrater_det_cont.py is used after the SupCon model is trained?

from visual_prompt_retrieval.

ZhangYuanhan-AI avatar ZhangYuanhan-AI commented on May 27, 2024

Sorry to bother you again, I wonder if featextrater_det.py is used for unsupervised feature extraction and featextrater_det_cont.py is used after the SupCon model is trained?

Hi, what is the “ featextrater_det.py?”

from visual_prompt_retrieval.

chmxu avatar chmxu commented on May 27, 2024

https://github.com/ZhangYuanhan-AI/visual_prompt_retrieval/blob/det/tools/featextrater_det.py

Sorry to bother you again, I wonder if featextrater_det.py is used for unsupervised feature extraction and featextrater_det_cont.py is used after the SupCon model is trained?

Hi, what is the “ featextrater_det.py?”

from visual_prompt_retrieval.

chmxu avatar chmxu commented on May 27, 2024

Hi Yuanhan, I am trying to reproducing the colorization task now. I find that the origin MAE-VQGAN randomly samples from ImageNet validation set for both the support and query samples. You paper mentioned 'For all experiments, in-context examples come from the training set'.

As I can understand, a reasonable pipeline would be training the SupCon model using support-query pairs from training set, and test it with pairs from validation set. I wonder which is the true setting for this experiment.

I would appreciate it if you could help me with this problem. Thank you very much!

from visual_prompt_retrieval.

ZhangYuanhan-AI avatar ZhangYuanhan-AI commented on May 27, 2024

Hi Yuanhan, I am trying to reproducing the colorization task now. I find that the origin MAE-VQGAN randomly samples from ImageNet validation set for both the support and query samples. You paper mentioned 'For all experiments, in-context examples come from the training set'.

As I can understand, a reasonable pipeline would be training the SupCon model using support-query pairs from training set, and test it with pairs from validation set. I wonder which is the true setting for this experiment.

I would appreciate it if you could help me with this problem. Thank you very much!

Hi, support image comes from training set.

from visual_prompt_retrieval.

chmxu avatar chmxu commented on May 27, 2024

So in your case, I have to calculate a 1.3M(or perhaps the randomly chosen 50000)*50000 similarity matrix, pick top-50 for each test sample, then use the trained SupCon model to choose the best support sample. Is this right?

from visual_prompt_retrieval.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.