davidADSP / GDL_code

The official code repository for examples in the O'Reilly book 'Generative Deep Learning'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

02_03 Graph Execution Error

nebeleh opened this issue · comments

When training the batch normalized model, it throws this error:

InvalidArgumentError: Graph execution error:
...
    File "/home/name/.local/lib/python3.8/site-packages/keras/layers/normalization/batch_normalization.py", line 571, in _fused_batch_norm_training
      return tf.compat.v1.nn.fused_batch_norm(
Node: 'model_4/batch_normalization_14/FusedBatchNormV3'
DML doesn't support exponential_avg_factor != 1 at the moment
	 [[{{node model_4/batch_normalization_14/FusedBatchNormV3}}]] [Op:__inference_train_function_85820]

I'm using Tensorflow 2.9.1 and I'm on the tensorflow_2 branch.