[Kwiver-users] Receiving error to run example descriptor.pipe - KWIVER

David Hughes david.hughes at kitware.com
Sun Jan 7 23:41:34 EST 2018


First of all, a warning on Python related matters--historically, we didn't
have much support for python in kwiver. There's a fresh pull request up now
with a bunch of fixes and new bindings, but it's not in master yet. So this
req

The reason that you're getting that error is because the two C++ schedulers
won't work with python. The python GIL has its own rules and assumptions
for threading, and schedulers designed for C++ aren't necessarily going to
abide by them, which is why they throw that exception. The solution is to
use the included python scheduler: pythread_per_process. To use it, run the
pipeline with the following command:

pipeline_runner -p descriptor.pipe *-S pythread_per_process*

Keep in mind that until the new branch is in, there's no guarantee that
that'll work on master, just that it'll get you past your current error.

On Sun, Jan 7, 2018 at 8:22 AM, Ankit Parag Shah <aps1 at andrew.cmu.edu>
wrote:

> Hi all,
>
> In order to check installation of KWIVER software suite and understanding
> its capabilities, I am trying to run the following example -
> descriptor.pipe.
>
> While running the example an exception is caught with the following message
>
> Exception caught: The pipeline cannot be run: The process 'descriptor' of
> type 'ApplyDescriptor' is a python process and that type of process is not
> supported by this scheduler.
>
> Further, I am trying to understand the purpose of the example
> descriptor.pipe - if there is a reference to what the example is supposed
> to perform would help clarify my current level of understanding of the
> topic.
>
> Kindly provide further information to understand the above error and how
> to resolve the problem.
> KWIVER is installed with python support.
>
> Kind Regards,
> Ankit Shah
> Masters Student in Language Technologies
> Carnegie Mellon University.
>
> _______________________________________________
> Kwiver-users mailing list
> Kwiver-users at public.kitware.com
> https://public.kitware.com/mailman/listinfo/kwiver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/kwiver-users/attachments/20180107/63909ae4/attachment.html>


More information about the Kwiver-users mailing list