Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The code of "Training-Free Confidence Scoring Mechanism" #6

Open
CongHan0808 opened this issue Apr 8, 2024 · 1 comment
Open

The code of "Training-Free Confidence Scoring Mechanism" #6

CongHan0808 opened this issue Apr 8, 2024 · 1 comment

Comments

@CongHan0808
Copy link

Thanks for sharing your work. Are there some codes for "Training-Free Confidence Scoring Mechanism"? I clone the repository and only find eval/run_llava.py for runing a demo. And are there the evaluation code for coco?

@jefferyZhan
Copy link
Owner

jefferyZhan commented Apr 17, 2024

Hi @CongHan0808 ,
Thank you for your interest in our work. In the init version of this repo, we only provided the demo code. We'll release the training and batch inference code later. Before the release, you can follow the instruction to modify the demo code:

  1. Set the return_dict_in_generate=True and output_scores=True in the model.generate function.
  2. Get the output sequence and corresponding score of each output token.
  3. Calculate the bbox score and category score of each instance according to the paper (our implementation is the same as the paper description).

Later, we'll release the whole codes including the batch inference of REC/REG/Detection/Counting/Phrase Grounding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants