Closed ajschwieterman closed 2 years ago
I get the same problem too, has anyone found a fix?
Upon inspecting the generate_pattern_matrix function, it seems it is killed when the for loop between the two print statements runs
it seems that mod_equality_grid can't be generated for some reason
I think it's very likely to be memory issue.
https://github.com/3b1b/videos/blob/db2809060fdca0a208ee8c07467eadf3dcf23ddd/_2022/wordle/simulations.py#L130
Can you try changing bool
to np.bool_
? more information
However, matrix could still take at most 13000*13000*5*5=4225000000
bytes, which is roughly 4GB
of ram.
The pre-generated pattern_matrix file is now in the repo, so hopeful this is no longer needed.
When I try to execute the program via
python3 wordle.py
, I get the following error.I believe I correctly created the directories necessary for
custom_config.yml
.