728x90

에러:

UserWarning: `Model.state_updates` will be removed in a future version. This property should not be used in TensorFlow 2.0, as `updates` are applied automatically.

  warnings.warn('`Model.state_updates` will be removed in a future version.

 

 

 

해결:

 

아래 라인 실행해 주면 에러 사라진다.

config = tf.compat.v1.ConfigProto(gpu_options =

                         tf.compat.v1.GPUOptions(per_process_gpu_memory_fraction=0.8)

# device_count = {'GPU': 1}

728x90

+ Recent posts