Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NLPO Code Error and Query About gymnasium vs gym Usage #63

Open
jinyilun718 opened this issue Jul 7, 2023 · 0 comments
Open

NLPO Code Error and Query About gymnasium vs gym Usage #63

jinyilun718 opened this issue Jul 7, 2023 · 0 comments

Comments

@jinyilun718
Copy link

jinyilun718 commented Jul 7, 2023

I hope this message finds you well. I am writing to report an issue I encountered in the NLPO project that you maintain on GitHub.

While executing the following block of code, in lines 278 of nlpo.py:
if eval_env is not None and self.seed is not None:
eval_env.seed(self.seed)
eval_env = self._get_eval_env(eval_env)
if not self._custom_logger:

I got:eval_env = self._get_eval_env(eval_env)
AttributeError: 'NLPO' object has no attribute '_get_eval_env'.

I also found that no code related to '_get_eval_env'. in this repository, did i miss some key files? IF yes please let me know.

In addition to this, I have a query regarding library usage. I would like to know if it's possible to use 'gymnasium' in place of 'gym' within the NLPO project. If so, could you please guide on how to substitute all relevant 'gym' imports to 'gymnasium'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant