In face recognition project

File “C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\image.py”, line 642, in set_data
raise TypeError(“Image data cannot be converted to float”)

TypeError: Image data cannot be converted to float
please help me resolve this error , it is encountered in spyder.

http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=python3

http://localhost:8888/notebooks/Untitled2.ipynb?kernel_name=python3 please look into the code

Jupyter notebook runs on your local host, means this link will not work on any other laptop except yours. So you do one thing, upload this code on github and then share that link.

Hey Aastha,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.

respected sir ; i already marked it as resolved
sorry for inconvenience