gaia icon indicating copy to clipboard operation
gaia copied to clipboard

OSX: Fatal Python error: PyThreadState_Get: no current thread

Open heilers opened this issue 7 years ago • 2 comments

Hi, i'm trying to train models with the "train_model_from_sigs.py" script, but after

Creating classification project /usr/local/Cellar/essentia/HEAD-3dc5016/bin/spoken/sigs/sigs.project Successfully written /usr/local/Cellar/essentia/HEAD-3dc5016/bin/spoken/sigs/sigs.project INFO ClassificationTaskManager | Merging original base dataset... [ INFO ] Processing jobs number from 0 to 5 included (out of 6 without duplicate ids) [ INFO ] Will run using 8 threads Merging file [6/6] (100% done) [ INFO ] All jobs finished, merging into dataset Saving dataset... Dataset successfully saved!

i get this error:

Fatal Python error: PyThreadState_Get: no current thread

I'm using python 2.7 installed with homebrew. Any ideas?

Thanks in advance! Best

heilers avatar Sep 03 '18 11:09 heilers

I don't have OSX but here's an idea: Look at Aug 8, 2017 comment https://github.com/caffe2/caffe2/issues/854 and Feb 9 comment. It is also an issue addressed on StackOverflow.

sildeag avatar Sep 03 '18 17:09 sildeag

Hi sildeag, thanks for your help, but it knew this link. It could be a problem between the build in python and the brew version. But I couldn't figure it out. I changed to Linux, and everything works now :)

Best Hendrik

heilers avatar Sep 08 '18 09:09 heilers