Closed bf-yang closed 10 months ago
Hi @bf-yang,
Thank you for showing interest in MaPLe!
I think the error caused is due to the use of multiple GPUs. You may need to use only one GPU per training.
So, you can mention the usage of one GPU while running the bash scripts (by using CUDA_VISIBLE_DEVICES=0)
Please let me know if this resolves your issue.
Thank you and kind regards!
I add CUDA_VISIBLE_DEVICES=0 into the script file, like:
But it still reports the same error:
Can you try using this variable like the following:
CUDA_VISIBLE_DEVICES=0 bash scripts/vpt/base2new_train_vpt.sh oxford_flowers 1
It helps me a lot. Thanks very much for your excellent work and your help!
Thanks for your great job.
When I run the following code: bash scripts/vpt/base2new_train_vpt.sh oxford_flowers 1 bash scripts/maple/base2new_train_maple.sh oxford_flowers 1 They both report errors. But when I run the code: bash scripts/coop/main.sh oxford_flowers vit_b16 middle 16 1 False, it works.
It seems that I can only successfully run zeroshotCLIP and CoOp codes. But for VPT and MaPLe codes, it reports an error.
Specifically, when I run bash scripts/vpt/base2new_train_vpt.sh oxford_flowers 1, it reports:
when I run bash scripts/maple/base2new_train_maple.sh oxford_flowers 1, it reports:![image](https://github.com/muzairkhattak/multimodal-prompt-learning/assets/82997910/90b193ea-7db2-4f90-ad50-3ea2ecb2b65c)
How can I successfully run these two .sh files?