Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

DeprecationWarning when using multiprocess (forkserver)

idata
Employee
782 Views

After initialising the process in multiprocess(forkserver) this following message appears.

 

I tried to do what it says, to change "fromstring" into "frombuffer" in the api… but it doesn't work. With the DeprecationWarning it works OK but I think it should not appear and it should be fixed in the future. I'm using python3.7 on a RaspBerryPi 3B running Debian Stretch.

 

/opt/movidius/NCSDK/ncsdk-armv7l/api/python/mvnc/mvncapi.py:418: DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead

 

tensor = numpy.fromstring(tensor.raw, dtype=numpy.float32)

 

Thanks.

0 Kudos
0 Replies
Reply