just a trick to store int8 in protobuf should limit the maximum image shape latter
fix most bugs waiting for frontend to fix interfaces