You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING:tensorflow:From C:/Users/38461/Desktop/Code/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/train.py:56: The name tf.reset_default_graph is deprecated. Please use tf.compat.v1.reset_default_graph instead.
WARNING:tensorflow:From C:\Users\38461\Desktop\Code\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\drqn.py:8: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
WARNING:tensorflow:From C:\Users\38461\Desktop\Code\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\drqn.py:9: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
Traceback (most recent call last):
File "C:/Users/38461/Desktop/Code/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/train.py", line 62, in
mainQN = QNetwork(name='main',hidden_size=hidden_size,learning_rate=learning_rate,step_size=step_size,state_size=state_size,action_size=action_size)
File "C:\Users\38461\Desktop\Code\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\drqn.py", line 17, in init
self.lstm = tf.contrib.rnn.BasicLSTMCell(hidden_size)
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\python\util\lazy_loader.py", line 63, in getattr
return getattr(module, item)
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_init_.py", line 50, in getattr
module = self.load()
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_init.py", line 44, in _load
module = importlib.import_module(self.name)
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in find_and_load
File "", line 955, in find_and_load_unlocked
File "", line 665, in load_unlocked
File "", line 678, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib_init.py", line 39, in
from tensorflow.contrib import compiler
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib\compiler_init.py", line 21, in
from tensorflow.contrib.compiler import jit
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib\compiler_init.py", line 22, in
from tensorflow.contrib.compiler import xla
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib\compiler\xla.py", line 22, in
from tensorflow.python.estimator import model_fn as model_fn_lib
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\python\estimator\model_fn.py", line 26, in
from tensorflow_estimator.python.estimator import model_fn
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator_init.py", line 10, in
from tensorflow_estimator.api.v1 import estimator
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator_api\v1\estimator_init.py", line 10, in
from tensorflow_estimator.api.v1.estimator import experimental
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator_api\v1\estimator\experimental_init.py", line 10, in
from tensorflow_estimator.python.estimator.canned.dnn import dnn_logit_fn_builder
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator\python\estimator\canned\dnn.py", line 27, in
from tensorflow_estimator.python.estimator import estimator
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator\python\estimator\estimator.py", line 36, in
from tensorflow.python.profiler import trace
ImportError: cannot import name 'trace'
The text was updated successfully, but these errors were encountered:
WARNING:tensorflow:From C:/Users/38461/Desktop/Code/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/train.py:56: The name tf.reset_default_graph is deprecated. Please use tf.compat.v1.reset_default_graph instead.
WARNING:tensorflow:From C:\Users\38461\Desktop\Code\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\drqn.py:8: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
WARNING:tensorflow:From C:\Users\38461\Desktop\Code\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\drqn.py:9: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
If you depend on functionality not listed there, please file an issue.
Traceback (most recent call last):
File "C:/Users/38461/Desktop/Code/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master/train.py", line 62, in
mainQN = QNetwork(name='main',hidden_size=hidden_size,learning_rate=learning_rate,step_size=step_size,state_size=state_size,action_size=action_size)
File "C:\Users\38461\Desktop\Code\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\Deep-Reinforcement-Learning-for-Dynamic-Spectrum-Access-master\drqn.py", line 17, in init
self.lstm = tf.contrib.rnn.BasicLSTMCell(hidden_size)
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\python\util\lazy_loader.py", line 63, in getattr
return getattr(module, item)
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_init_.py", line 50, in getattr
module = self.load()
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_init.py", line 44, in _load
module = importlib.import_module(self.name)
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in find_and_load
File "", line 955, in find_and_load_unlocked
File "", line 665, in load_unlocked
File "", line 678, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib_init.py", line 39, in
from tensorflow.contrib import compiler
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib\compiler_init.py", line 21, in
from tensorflow.contrib.compiler import jit
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib\compiler_init.py", line 22, in
from tensorflow.contrib.compiler import xla
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\contrib\compiler\xla.py", line 22, in
from tensorflow.python.estimator import model_fn as model_fn_lib
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_core\python\estimator\model_fn.py", line 26, in
from tensorflow_estimator.python.estimator import model_fn
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator_init.py", line 10, in
from tensorflow_estimator.api.v1 import estimator
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator_api\v1\estimator_init.py", line 10, in
from tensorflow_estimator.api.v1.estimator import experimental
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator_api\v1\estimator\experimental_init.py", line 10, in
from tensorflow_estimator.python.estimator.canned.dnn import dnn_logit_fn_builder
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator\python\estimator\canned\dnn.py", line 27, in
from tensorflow_estimator.python.estimator import estimator
File "D:\D-ai-progarmming\anaconda3\envs\rl-tf1.15\lib\site-packages\tensorflow_estimator\python\estimator\estimator.py", line 36, in
from tensorflow.python.profiler import trace
ImportError: cannot import name 'trace'
The text was updated successfully, but these errors were encountered: