Closed truongnmt closed 6 years ago
I'm importing libraries in this tutorial Dirichlet model training for Atrial fibrillation detection, on importing Dirichlet model:
from cardio.models.dirichlet_model import DirichletModel, concatenate_ecg_batch
I got this error: AttributeError: module 'tensorflow.python.ops.losses.losses' has no attribute 'huber_loss'
AttributeError: module 'tensorflow.python.ops.losses.losses' has no attribute 'huber_loss'
My environment: Anaconda Python 3.6.5 Tensorflow 1.1.0 Mac Sierra 10.12
Cardio is based on Dataset which requires TensorFlow 1.4 or higher.
I'm importing libraries in this tutorial Dirichlet model training for Atrial fibrillation detection, on importing Dirichlet model:
I got this error:
AttributeError: module 'tensorflow.python.ops.losses.losses' has no attribute 'huber_loss'
My environment: Anaconda Python 3.6.5 Tensorflow 1.1.0 Mac Sierra 10.12