HailoRTInvalidArgument when running inference tutorials

Solved by this post.