ShannonAI / service-streamer

Boosting your Web Services of Deep Learning Applications.
Apache License 2.0
1.23k stars 186 forks source link

检查predict函数的输入和输出batch_size相同 #29

Closed Meteorix closed 4 years ago

Meteorix commented 5 years ago

很多使用者没有注意这一点,报错会看不明白,应该在调用的时候检查一下,然后raise一个友好的AssertionError?