carpedm20 / deep-rl-tensorflow

TensorFlow implementation of Deep Reinforcement Learning papers
MIT License
1.59k stars 396 forks source link

initialize_all_variables deprecation warning #21

Closed ethene closed 7 years ago

ethene commented 7 years ago

Getting this warning which requires updating agent.py code

WARNING:tensorflow:From /../deep-rl-tensorflow/agents/agent.py:61 in train.: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02. Instructions for updating: Use tf.global_variables_initializer instead.