LinWeizheDragon / Retrieval-Augmented-Visual-Question-Answering

This is the official repository for Retrieval Augmented Visual Question Answering
GNU General Public License v3.0
184 stars 15 forks source link

Error #51

Open qiankunlee opened 2 days ago

qiankunlee commented 2 days ago

I always encounter this error in this path ("Retrieval-Augmented-Visual-Question-Answering/runway_for_ml/experiment.py") appears ([ERROR] - runway_for_ml.experiment : Uncaught exception: <class 'TypeError'> --> Trainer.init() got an unexpected keyword argument 'config'), why

1732976044528

When I remove some properties such as config, other errors will appear. What is the reason?

LinWeizheDragon commented 2 days ago

Is it because you used a lower/higher version of pytorch lightning?

qiankunlee commented 1 day ago

I use pytorch-lightning==2.0.4(recommend in the repo), but the torch i use is 2.5.0, i think it's no relation to torch.

qiankunlee commented 1 day ago

I reinstalled a new environment(torch==2.0.1+cu118, pytorch==2.0.4) and it appeared when I ran this code(Generating static retrieval results for inspection and inference).

1733051530647
LinWeizheDragon commented 1 day ago

Hi, there should be another error printed earlier that causes failure to load FLMRExecutor. Could you find that error instead?

qiankunlee commented 20 hours ago
1733126893515

I just checked the Executor_Registry, which was a void and not have and key-value !

1733127089235