Closed 4rChon closed 6 months ago
@sladic has been looking / will be looking into this, he may already be able to point to a (partial) fix or later have an ETA for when it might be ready for merging into the official repo.
Hi, any updates on this?
Hi, sorry for the delay. There is indeed code missing for marking the visibility of the units. I hope the marking and broadcast error fix will be up early next week.
@4rChon with the latest code in the master
branch of this repo (which, in turn, should also pull in updated code from the Java submodule), I expect this issue should be fixed.
The fully-observable example ran without errors.
I'm running the partially observable example with the following command:
However I'm encountering the following broadcasting error:
num_planes
is correctly initialised with an additional entry for partial observation, giving it a length of 7. However,np.array(ro)
obtained fromresponses.observation
returned byself.vec_client.reset(...)
has a length of 6. I've logged the shapes of the relevant variables here:It seems like passing the partial_obs argument to create a new JNIGridnetVecClient removes the unobserved units from the game state but does not add a feature indicating whether a unit is visible or not.
Looking at the
GameState.java
class,numVectorObservationFeatureMaps
is fixed at 6.PartiallyObservableGameState.java
does not add a new feature but removes the unseen units for the player.I might be missing something. Has anyone else managed to run the partially observable example?
Thanks