ialhashim / DenseDepth

High Quality Monocular Depth Estimation via Transfer Learning
https://arxiv.org/abs/1812.11941
GNU General Public License v3.0
1.57k stars 357 forks source link

ModuleNotFoundError: No module named 'tensorflow.keras.topology' #196

Closed BlueveryPi closed 2 years ago

BlueveryPi commented 2 years ago

ModuleNotFoundError: No module named 'tensorflow.keras.topology happens when trying to run layer.py in colab.

solution: replace from tensorflow.keras.topology import Layer, InputSpec from line 1 of layer.py to from tensorflow.keras.layers import Layer, InputSpec

ialhashim commented 2 years ago

Seem related to https://github.com/ialhashim/DenseDepth/pull/197