google-deepmind / google-deepmind/educational

Scientific Thinking Notebook Games Error

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.5k
Forks
203
PR merge metrics
No merged PRs in 30d

Description

I was trying to run the _Scientific Thinking_ Notebook games, and I got this error for all the games in the cells:
`TypeError: the argument to ascii_art_to_uint8_nparray must be a list (or tuple) of strings containing the same number of strictly-ASCII characters. (original error from numpy: arrays to stack must be passed as a "sequence" type such as list or tuple.)`

I had already run the setup cell and it had run properly.

Below is a screenshot of the error and the code:
![error image](https://github.com/user-attachments/assets/8057eae3-d62f-4258-99f8-6e19947d3117)

The error is generated at line 6:
`game_keeper = GameKeeper(game_type, level)`
At first glance with minimal debugging, it seems like it may be an issue with pycolab, but I am not entirely sure, so I thought to open this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.