Pytorch TypeError: __array__() takes 1 positional argument but 2 were given

https://github.com/pytorch/pytorch/issues/61125

Demote pilot as shown in the link  

pip install pillow==8.2.0

Read More: