Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Fatal Python error: PyThreadState_Get: no current thread for darknet_import.py #142

Description

@langongjin

hi,
This is my first to do ell. Everything is perfect before I tried to compile the model with the following
python ~/projects/ELL-master/tools/importers/darknet/darknet_import.py ~/projects/ELL-master/networks/testELLGongjin/robotsGardenCressDoubleFC.cfg ~/projects/ELL-master/networks/testELLGongjin/robotsGardenCressDoubleFC.weights Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6

I met the above error. And then, I skip the above error (step) by copy a model.ell from my colleague and compiled the model.ell with :
python ~/projects/ELL-master/tools/wrap/wrap.py model.ell --language cpp --target host --outdir model compiling model... running opt ... running llc ... success, now you can build the 'model' folder

It does work. But it does not work for the former error.

Note:

  • I run 'which python' to see:
    (py36) lan@Gongjins-MacBook-Pro:~/projects/ELL-master/networks/testELLGongjin$ which python /Users/lan/miniconda3/envs/py36/bin/python
  • my computer is macOS High Sierra (10.13.4)

what is the problem? and how can I fix this problem?
Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions