ialhashim / DenseDepth

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

Fix undefined name multi_gpu_model on line 68 #215

Closed cclauss closed 1 year ago

cclauss commented 1 year ago

https://discuss.tensorflow.org/t/multi-gpu-model/11778

% flake8 . --count --select=E9,F63,F7,F82,Y --show-source --statistics

./train.py:69:27: F821 undefined name 'multi_gpu_model'
if args.gpus > 1: model = multi_gpu_model(model, gpus=args.gpus)
                          ^
1     F821 undefined name 'multi_gpu_model'
1