Closed seino-tsuyoshi closed 3 years ago
Hello, thank you for your information! I think a more compact way is to replace "get" with "pop", as in commit 92e6a44b8a0107def055e93c971d78fd548562f8
I have confirmed that. Thank you for your quick response!!
I tried to estimation from PIL Image. For example:
But I got the error,
_predict_pil() got multiple values for argument 'pil_img'
I confirmed the code, and I found this code,
https://github.com/duanzhiihao/RAPiD/blob/fcb764a308e7e7c8ad7aceeb5de58364a691d9cd/api.py#L130
this variable "pil_img" seems argument of _predict_pil(). But there is another "pil_img" argument in kwargs. this caused the error. So I have changed this variable to "pil_image" and use this.
If my think is right, could you change this variable to other word? Or if there is different ways, please let me know.