Hello Team,
I have the following packages installed in my environment for IBM Watson Studio (Cloud). I am not able to run the command tf.enable_eager_execution() command. How do I resolve this issue. I am getting the following error.
/opt/conda/envs/Python36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py in enable_eager_execution(config, device_policy, execution_mode)
5459 device_policy=device_policy,
5460 execution_mode=execution_mode,
-> 5461 server_def=None)
5462
5463
/opt/conda/envs/Python36/lib/python3.6/site-packages/tensorflow/python/framework/ops.py in enable_eager_execution_internal(config, device_policy, execution_mode, server_def)
5514 if graph_mode_has_been_used:
5515 raise ValueError(
-> 5516 "tf.enable_eager_execution must be called at program startup.")
5517 context.default_execution_mode = context.EAGER_MODE
5518 # pylint: disable=protected-access
ValueError: tf.enable_eager_execution must be called at program startup.
------------------------------
Alok Kumar
------------------------------
#CloudPakforDataGroup