'In Arviz while ploting the plot_trace or plot_posterior getting the type error
While running the code az.plot_trace(result_final); facing the below error TypeError: expected dtype object, got 'numpy.dtype[float64]'
The above exception was the direct cause of the following exception:
SystemError: CPUDispatcher(<function histogram at 0x00000147106C8B88>) returned a result with an error set
Can you please let me know how to solve this
Solution 1:[1]
I suggest upgrading numba to the latest version, e.g. python3 -m pip install numba==[latest version]
. This might require a manual update to llmvite as well by doing, python3 -m pip install --ignore-installed llvmlite
. Hope that helps!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mala |