Open Animadversio opened 2 years ago
One hypothesis is that the rlpyt.envs.gym.info
class is defined in the main thread however it's not accessible in the subprocess.
Similarly the info
class defined in subprocess is not accessible in the main process...
I think this problem is related to the known issue in the rlpyt
library...
One suggestion they made is to substitute dynamically generated namedtuple
type with NamedTupleSchema
..
https://github.com/astooke/rlpyt/issues/99#issue-553094063
https://github.com/astooke/rlpyt/issues/168#issue-641535867
Hi I'm trying out this library on Windows10. There is a weird bug that I encounter when trying to launch a training with the following trianing code.
The core error happens within
info_to_nt
My understanding is that there shall be a namedtuple class called
info
defined before in globals() withbuild_info_tuples
function . However, there is no such class defined .... I'm not sure what could have gone wrong. Something related to subprocessing in windows? or something else?Is there ways to circumvent the
info_to_nt
My python version is 3.8.5 torch.version== '1.10.2'
Thanks in advance!