Closed foxm79 closed 4 years ago
Thanks for reporting. It should be fixed now.
For more details, this bug was introduced in this commit, where we change the input format for the models.
That was very quick ChenRocks:)
Thanks for fixing this and also for all the great work!!!
Thanks, Regards, -Abhinav.
From: Yen-Chun Chen notifications@github.com Sent: Monday, October 12, 2020 1:19 PM To: ChenRocks/UNITER UNITER@noreply.github.com Cc: Abhinav Mathur m_abhinav@hotmail.com; Author author@noreply.github.com Subject: Re: [ChenRocks/UNITER] TypeError: forward() got an unexpected keyword argument 'input_ids' (#35)
Closed #35https://github.com/ChenRocks/UNITER/issues/35.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ChenRocks/UNITER/issues/35#event-3868157472, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGCDUBHCRUW43WWYOYOGYT3SKNQELANCNFSM4SMCV3XA.
Hi ChenRocks,
I have trained the VQA after following your work here.
Is there a code to just input one single image and a corresponding question and get the answer back?
Do you have some kind of a demo like this? https://github.com/lichengunc/MAttNet#demo
Thanks, Regards, -Abhinav.
From: Yen-Chun Chen notifications@github.com Sent: Monday, October 12, 2020 1:19 PM To: ChenRocks/UNITER UNITER@noreply.github.com Cc: Abhinav Mathur m_abhinav@hotmail.com; Author author@noreply.github.com Subject: Re: [ChenRocks/UNITER] TypeError: forward() got an unexpected keyword argument 'input_ids' (#35)
Thanks for reporting. It should be fixed now.
For more details, this bug was introduced in this commithttps://github.com/ChenRocks/UNITER/commit/cd546652babc8304e09dd057742d86399de8f53d#diff-ea97d53e356967e430941d4fdd588f01L244, where we change the input format for the models.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ChenRocks/UNITER/issues/35#issuecomment-707325786, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGCDUBCAN2UGNPD5H27OTQ3SKNQEJANCNFSM4SMCV3XA.
Hello I am just onboarding this repo and am stuck at the following step:
inference
python inf_nlvr2.py --txt_db /txt/nlvr2_test1.db/ --img_db /img/nlvr2_test/ \ --train_dir /storage/nlvr-base/ --ckpt 6500 --output_dir . --fp16
I first got an hvd error that I resolved by adding a hvd.init() in the /data/data.py after importing hvd.
But now I get the error below. Can you please let me know what I could be doing incorrectly?