tomsilver / policies_logic_programs

Few-shot Bayesian Imitation Learning with Policies as Logic over Programs
18 stars 7 forks source link

Issue when trying to play ReachTheStar #4

Closed TommasoBendinelli closed 4 years ago

TommasoBendinelli commented 4 years ago

AttributeError: module 'generalization_grid_games.envs.reach_for_the_star' has no attribute 'FLOOR' Fixed by adding to reach_for_the_start.py: FLOOR = 'floor'

Unfortunately I get the following issue: Exception has occurred: IndexError index 12 is out of bounds for axis 0 with size 12 at line 169 in expert_demostrations.py

tomsilver commented 4 years ago

@TommasoBendinelli thanks for filing the issue! Looks like an outdated version of the expert policy for RFTS was committed. This should now be fixed:

https://github.com/tomsilver/policies_logic_programs/commit/39a9b2c369d9468dce5c3733a0ecac6d82c32147

But let me know if you run into any more issues. Thanks again!