muzairkhattak / multimodal-prompt-learning

[CVPR 2023] Official repository of paper titled "MaPLe: Multi-modal Prompt Learning".
https://muzairkhattak.github.io/multimodal-prompt-learning/
MIT License
619 stars 43 forks source link

prints averaged results for base classes #12

Closed SHIBOYA closed 1 year ago

SHIBOYA commented 1 year ago

when i run "python parse_test_res.py output/base2new/train_base/imagenet/shots_16/MaPLe/vit_b16_c2_ep5_batch4_2ctx" got this issue: AssertionError: Nothing found in output/base2new/train_base/imagenet/shots_16/MaPLe/vit_b16_c2_ep5_batch4_2ctx

and when i try "python parse_test_res.py output/base2new/test_new/imagenet/shots_16/MaPLe/vit_b16_c2_ep5_batch4_2ctx --test-log" the results only contain seed2 and seed3, where seed 1?

muzairkhattak commented 1 year ago

Hi @SHIBOYA,

Thank you for showing interest in our work.

when i run "python parse_test_res.py output/base2new/train_base/imagenet/shots_16/MaPLe/vit_b16_c2_ep5_batch4_2ctx" got this issue: AssertionError: Nothing found in output/base2new/train_base/imagenet/shots_16/MaPLe/vit_b16_c2_ep5_batch4_2ctx

For the base-classes, can you try adding the --test-log flag in the command as well? For example, you could try running: python parse_test_res.py output/base2new/train_base/imagenet/shots_16/MaPLe/vit_b16_c2_ep5_batch4_2ctx/ --test-log

and when i try "python parse_test_res.py output/base2new/test_new/imagenet/shots_16/MaPLe/vit_b16_c2_ep5_batch4_2ctx --test-log"

Can you make sure if you have the model trained for seed 1? You can specifically check the seed1 folder and inspect the log files.

I hope that would be helpful.

Kindly let me know if you any further queries.

Thank you.

SHIBOYA commented 1 year ago

thank you very much

muzairkhattak commented 1 year ago

No problem!