Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
447 Views

DeprecationWarning when using multiprocess (forkserver)

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