Closed ghost closed 5 years ago
Hello,
it seems your action space has an extra dimension, shouldn't it be (3,)
instead of (3, 1)
?
I just solved it..made some changes on record_expert.py to correctly generate trajectories of my environment and SAC works now. Thank you for your work in this great repo!
Describe the bug Hi, I'm working on GAIL.Providing my own trajectory just as in the cartpole or pendulum example. It works with DQN and PPO but when I try to use it with algorithms DDPG or SAC I get "Cannot feed value of shape (1024,) for Tensor 'expert_actions_ph:0', which has shape '(?, 2)" tensorflow error. I do provide non discrete, Box action space as you see from the shape. SAC and DDPG works with the same environment but it gives out this error when I incorporate it GAIL as you do in the example you show in it's page. Is there something am I missing or is this a bug?
Code example
System Info Describe the characteristic of your environment:
Additional context