C2 W1 assignment :UnimplementedError: Graph execution error

The code worked the first time but it took forever to train. So I changed the runtime to GPU. Now it shows this error.

I found the solution here. Just paste the following line of code in the beginning and restart the runtime; you should be good to go:
!apt install --allow-change-held-packages libcudnn8=

1 Like

Hi there. I tried this out but it didn’t work… Any advice?

Have you restarted your runtime after running the line of code? I havent worked on these projects in a while but it used to work for me before; maybe something else broke down in the meantime.