infer-actively / pymdp

A Python implementation of active inference for Markov Decision Processes
MIT License
450 stars 89 forks source link

Error happend when using update_B() #91

Closed xugami closed 2 years ago

xugami commented 2 years ago

It showed some error during runing update_B() image

conorheins commented 2 years ago

Hi @xugami -- which version of pymdp are you using? It seems like you might be using v0.0.3 or v0.0.4.

This error has been fixed in the latest release (see here).

If my suspicion is correct, then you should be able to fix this by upgrading your version of pymdp:

pip install --upgrade inferactively-pymdp

Alternatively, you can install the dev verison of pymdp, instructions for which can be found here.

xugami commented 2 years ago

Thanks , this problem has been fixed by upgrading from v0.0.4 to v0.0.5.