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
the import of
from tensorflow.keras.optimizers import Adam causes:
use: from tensorflow.python.keras.optimizers instead?
`ModuleNotFoundError Traceback (most recent call last)
in
4 import tensorflow.python.keras.optimizers
5 #from tensorflow.keras.optimizers import Adam
----> 6 import huskarl as hk
7 import gym
8
~\AppData\Roaming\Python\Python37\site-packages\huskarl_init_.py in
1 from huskarl.core import HkException
2 from huskarl.simulation import Simulation
----> 3 import huskarl.agent
~\AppData\Roaming\Python\Python37\site-packages\huskarl\agent_init_.py in
----> 1 from huskarl.agent.dqn import DQN
2 from huskarl.agent.a2c import A2C
3 from huskarl.agent.ddpg import DDPG
~\AppData\Roaming\Python\Python37\site-packages\huskarl\agent\dqn.py in
1 from tensorflow.keras.layers import Dense, Lambda
2 from tensorflow.keras.models import Model
----> 3 from tensorflow.keras.optimizers import Adam
4 import tensorflow as tf
5 import numpy as np
ModuleNotFoundError: No module named 'tensorflow.keras.optimizers'
`
The text was updated successfully, but these errors were encountered:
the import of
from tensorflow.keras.optimizers import Adam causes:
use: from tensorflow.python.keras.optimizers instead?
`ModuleNotFoundError Traceback (most recent call last)
in
4 import tensorflow.python.keras.optimizers
5 #from tensorflow.keras.optimizers import Adam
----> 6 import huskarl as hk
7 import gym
8
~\AppData\Roaming\Python\Python37\site-packages\huskarl_init_.py in
1 from huskarl.core import HkException
2 from huskarl.simulation import Simulation
----> 3 import huskarl.agent
~\AppData\Roaming\Python\Python37\site-packages\huskarl\agent_init_.py in
----> 1 from huskarl.agent.dqn import DQN
2 from huskarl.agent.a2c import A2C
3 from huskarl.agent.ddpg import DDPG
~\AppData\Roaming\Python\Python37\site-packages\huskarl\agent\dqn.py in
1 from tensorflow.keras.layers import Dense, Lambda
2 from tensorflow.keras.models import Model
----> 3 from tensorflow.keras.optimizers import Adam
4 import tensorflow as tf
5 import numpy as np
ModuleNotFoundError: No module named 'tensorflow.keras.optimizers'
`
The text was updated successfully, but these errors were encountered: