Closed thanujadax closed 8 years ago
Hi again, Turns out this issue was due to having vigra inside the python search path. It went away once I removed the vigra package from my virtual env.
Thanks anyway Thanuja
Ach, sorry I was slow to respond @thanujadax!
I haven't used Vigra for a while. I presume that the Python bindings allow setting the random state (this is used to get consistent results between different runs of the random forest), but uses a different keyword. So the slightly less hacky way to do this is to update the VigraRandomForest wrapper to accept random_state
as a keyword, and, if possible, set the corresponding variable in Vigra.
Would you like to submit a pull request that does this?
Hello, I was trying to run an adapted version of
example.py
as shown in the appendix below, with the example data provided with the source code.However, I get the following error:
Any idea of what's gone wrong?
Thanks Thanuja
Appendix: code