flyyufelix / VizDoom-Keras-RL

Reinforcement Learning in Keras on VizDoom
https://flyyufelix.github.io/2017/10/12/dqn-vs-pg.html
MIT License
146 stars 53 forks source link

TypeError: expand_dims() got an unexpected keyword argument 'dim' #2

Open forhonourlx opened 6 years ago

forhonourlx commented 6 years ago

def dueling_dqn(input_shape, action_size, learning_rate): ... state_value = Lambda(lambda s: K.expand_dims(s[:, 0], dim=-1), output_shape=(action_size,))(state_value) ...

bilal-rabbani-ai commented 2 years ago

same issue