ialhashim / DenseDepth

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

AttributeError: 'Conv2D' object has no attribute 'outbound_nodes' #210

Open laisimiao opened 2 years ago

laisimiao commented 2 years ago

When I use model to run test.py, it stuck in the step of load_model. But my env is same as the recommend: keras 2.2.4 tf 1.13.1 cuda10.0. err:

  File "/home/xx/anaconda3/envs/tf1.13/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1742, in __init__
    layer.outbound_nodes.append(self)
AttributeError: 'Conv2D' object has no attribute 'outbound_nodes'
chenguan1 commented 1 year ago

Me too ... File "C:\Users\A\anaconda3\envs\ddepth\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 1742, in __init__ layer.outbound_nodes.append(self) AttributeError: 'Conv2D' object has no attribute 'outbound_nodes'

anhquyetnguyen commented 1 year ago

you have solution? @chenguan1 @laisimiao ?

YacineDeghaies commented 2 months ago

@laisimiao @chenguan1 @anhquyetnguyen did you guys solve this ?