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

Fix model.predict output for use in benchmark #2016

Merged
merged 2 commits into from
May 9, 2023
Merged

Conversation

Adaickalavan
Copy link
Member

@Adaickalavan Adaickalavan commented May 8, 2023

  • model.predict() outputs a zero dimension array in a non-vectorized single env setup.
  • The above output could not be used as a dictionary index.
  • Hence, I cast the zero dimension array to int.

@Adaickalavan Adaickalavan merged commit e7e1b9b into master May 9, 2023
@Adaickalavan Adaickalavan deleted the adai/minor-fixes branch May 9, 2023 00:12
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

Successfully merging this pull request may close these issues.

3 participants