gpt-3.5-turbo-0613· OpenAI WildChat-4.8M (AI2)
WARNING:tensorflow:From…
- User
WARNING:tensorflow:From D:\Download\python.64\Lib\site-packages\tensorflow\python\util\tf_should_use.py:243: 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_initializerinstead. 怎么改 - Assistant
将代码中的
tf.initialize_all_variables()替换为tf.global_variables_initializer(),以避免警告和将来的错误。即将以下代码行进行更改:# before tf.initialize_all_variables() # after tf.global_variables_initializer()