Don't pass envpool envs where vectorenvs are needed #1096
Labels
bug
Something isn't working
good first issue
Good for newcomers
refactoring
No change to functionality
See the block comments in test and in
Collector
method. Somewhere a pure envpool-env is passed instead of instances ofBaseVectorEnv
, thus the interface is not followed.This means we rely on the two interfaces accidentally kind-of coinciding. They already don't fully coincide since envpool envs return an info as single dict with arrays, whereas tianshou's
VectorEnv
s return an array of dicts.@Trinkle23897 this issue might be of interest to you
The text was updated successfully, but these errors were encountered: