scipy version problem, the advanced version no longer includes the function imresize, the explanation and solution given on the official website are as follows:
imresize is deprecated! imresize is deprecated in SciPy 1.0.0, and will be removed in 1.3.0. Use Pillow instead: numpy.array(Image.fromarray(arr).resize()).
pip install scipy==1.1.0