NegPrompt icon indicating copy to clipboard operation
NegPrompt copied to clipboard

The official implementation of CVPR 24' Paper "Learning Transferable Negative Prompts for Out-of-Distribution Detection"

Results 7 NegPrompt issues
Sort by recently updated
recently updated
newest added

in the script train_test_ood.py, there is: -POMP {POMP} --POMP_k {POMP_k} However, POMP and POMP_k are defined in the code so that I encounter an error: $ python ./scripts/train_test_ood.py Traceback (most...

NEVER HAD I SEEN SUCH BAD ORGANIZED CODES!!! see what you wrote (this is just one sample): absl-py==1.4.0 anykeystore==0.2 appdirs==1.4.4 asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1670263926556/work backcall @ file:///home/conda/feedstock_root/build_artifacts/backcall_1592338393461/work backports.functools-lru-cache @ file:///home/conda/feedstock_root/build_artifacts/backports.functools_lru_cache_1618230623929/work beautifulsoup4==4.12.2...

there are lots of @ in the requirement file. Could the author help to fix it?

I've noticed a problem with the data loading part of your code. Specifically, the lines: train_file_path = os.path.join(dataroot, 'ImageNet1K', 'protocols', 'ood_train.csv') test_file_path = os.path.join(dataroot, 'ImageNet1K', 'protocols', 'ood_test.csv') However, I couldn't...

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....

Hello, thank you for your great work. Could I possibly get the trained model checkpoint? Thank you.

In osr_nega_prompt.py, on line 358, there is an import statement: from split import splits_2020 as splits. Unfortunately, I am unable to locate the split module within the repository. Could you...