I use the same method in the google colab
(your Tutorial: DeepD3 train your own neural network)

https://deepd3.forschung.fau.de/
I think it's the issue about the dependency. I attempted to install as follow:
!pip install deepd3
!pip install segmentation_models
!pip uninstall keras
!pip install keras==2.2.4
!pip install tensorflow-keras
However, it's still not work.