Open kunrenzhilu opened 6 years ago
I found the way to parallel already.
I'm able to run the examples on a Mac, but the HSMM examples crash on Windows (after I built the code with the modifications in this pull request https://github.com/mattjj/pyhsmm/pull/86).
Update: while it crashes after building and installing using Visual Studio's cl.exe, it works fine if built with MinGW32-x64. I had to make other modifications described below.
Lib/distutils/cygwinccompiler.py
by replacing return ['msvcr140']
with return ['vcruntime140']
in function get_msvcr
(https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/yLH46ilPQeo)include/pyconfig.h
by removing definitions of hypot
(https://github.com/python/cpython/pull/880)
I test my model with the following setting and it throws an runtimewarning every time. I tested the model with the same setting in py2. Sometimes it's safe but sometimes the same error throws. The data is just some trajectories with state labels. range from 0 to 64*64-1. And total length of each observation is 8640.
Any hint on why it's not stable in py2 and not event work in py3?