-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in BOT Stack for PickupLoc #80
Comments
Thanks does sound like a bug. I guess the bot should behave differently
when it needs to pick smth up in the end of the execution and not in the
middle.
Would you like to try fixing it?
…On Sun, 18 Aug 2019 at 17:25, Maxime Chevalier-Boisvert < ***@***.***> wrote:
Assigned #80 <#80> to @rizar
<https://github.com/rizar>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#80?email_source=notifications&email_token=AAE7YYS2WHS54PSF6TMU5LTQFG44ZA5CNFSM4IMUDUCKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTDO527Q#event-2564676990>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAE7YYWF6H542V3IUVRAQ5TQFG44ZANCNFSM4IMUDUCA>
.
|
An important thing to check, after fixing the bug, is that the correctness and performance of the bot is not affected. See the eval_bot script. @chitwansaharia is this bug blocking you right now? |
Sure. I will try fixing the bug, and check the correctness and performance of the bot afterwards. @maximecb I made a temporary fix to serve my purpose. I removed the drop subgoal manually while generating demos for PickupLoc. So it is not blocking me currently. |
Even in the instructions like |
Hey @chitwansaharia were you able to fix this bug? I have an older version of Babyai and I am getting Assertion Error |
Hi @akshay-sharma1995 I have not pushed the solution yet. Although, the possible workaround for PickupLoc specifically is just to remove the drop subgoal from the BOT stack. It is just a list of subgoals, and you can easily remove the Drop Subgoal from that list.
|
@rizar Please look at the solution idea I proposed before. If that sounds good, I will go ahead and create the PR. Thanks! |
@chitwansaharia, @maximecb I tried this fix. For pickuploc env I removed the DropSubgoal, but now I am getting an assertion error for the PickupSubGoal |
@akshay-sharma1995, can you post the relevant demo code snippet, so that I can run it and get more idea about the problem you are facing ? |
Sorry for the delay, let me join the discussion. @chitwansaharia , why do we have to remove |
Hey @chitwansaharia, sorry for the delay. I am trying to run an expert along with a trained learner while evaluation. I made the relevant changes in the babyai/babyai/evaluate.py file. I have attached the code as a pastebin over here: https://pastebin.com/embed_js/FPhi7RWV |
The BOT stack for
BabyAI-PickupLoc-v0
contains a drop subgoal. It is due to the fact that every pickup subgoal automatically adds a drop subgoal. However, for PickupLoc, when the BOT needs to actdone
after finishing all the subgoals will end up failing the mission, as it would have dropped the object already. @rizarThe text was updated successfully, but these errors were encountered: