chris-chris / pysc2-examples

StarCraft II - pysc2 Deep Reinforcement Learning Examples
Apache License 2.0
753 stars 356 forks source link

train_defeat_zerglings uses wrong dimensions for q_func #35

Open rwill128 opened 3 years ago

rwill128 commented 3 years ago

I am not sure how to best address this, but it looks like train_defeat_zerglings (and potentially the Q learning version of train_mineral_shards) are not operational with TF 1.14.

The error is thrown in line 1024 of layers.py

    if conv_dims is not None and conv_dims + 2 != input_rank:
      raise ValueError('Convolution expects input with rank %d, got %d' %
                       (conv_dims + 2, input_rank))