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

How to reproduce the results on Tab.2 Prompt learning methods #1

Open
mmmeya opened this issue Apr 17, 2024 · 3 comments
Open

How to reproduce the results on Tab.2 Prompt learning methods #1

mmmeya opened this issue Apr 17, 2024 · 3 comments

Comments

@mmmeya
Copy link

mmmeya commented Apr 17, 2024

Dear authors,

I followed your given command "python ./scripts/train_test_ood.py", but it cannot reproduce the results.

Compared with the paper, I found some differences between the code and the paper:

  1. code "open_set_method = 'MSP' open_score = 'OE'". but in paper "open_set_method = 'OE'" = open_score = 'MSP'"
  2. in the paper, you said that there are two stages for training. what is the stage 3. what's the difference between stage 2 and 3.
  3. what's the number of epochs for stage 2 and 3. In the code, you set 100 for stage 3. But in the paper, it's 10 for stage 2.

Could you give us an updated command for reproducing the result?

I look forward to your reply. Thanks.

@arbiterleo
Copy link

I have met the same problem as him.
Besides, I also disocver that the code require more then 48G Vram to excute, but in the paper it says the code can be run with only one V100(32G).
I wonder does any one meet the same problem with me.
Any update on this will be good, thanks!

@myhakureimu
Copy link

May I ask if you met the following issue when running the script train_test_ood.py?

However, POMP and POMP_k are not defined in the code.

@myhakureimu
Copy link

myhakureimu commented Jul 1, 2024

Dear authors,

I followed your given command "python ./scripts/train_test_ood.py", but it cannot reproduce the results.

Compared with the paper, I found some differences between the code and the paper:

  1. code "open_set_method = 'MSP' open_score = 'OE'". but in paper "open_set_method = 'OE'" = open_score = 'MSP'"
  2. in the paper, you said that there are two stages for training. what is the stage 3. what's the difference between stage 2 and 3.
  3. what's the number of epochs for stage 2 and 3. In the code, you set 100 for stage 3. But in the paper, it's 10 for stage 2.

Could you give us an updated command for reproducing the result?

I look forward to your reply. Thanks.

May I ask whether you met the issue of "KeyError: 'CSC'" when running their code with "python ./scripts/train_test_ood.py"?

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

3 participants