-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
I'm getting this error when trying to use your code can u help me please?
Traceback (most recent call last):
File "test.py", line 35, in <module>
dqn.compile(Adam(lr=1e-3), metrics=['mae'])
File "C:\Users\ehsan\AppData\Local\Programs\Python\Python38\lib\site-packages\rl\agents\dqn.py", line 168, in compile
self.target_model = clone_model(self.model, self.custom_model_objects)
File "C:\Users\ehsan\AppData\Local\Programs\Python\Python38\lib\site-packages\rl\util.py", line 16, in clone_model
clone.set_weights(model.get_weights())
File "C:\Users\ehsan\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\keras\engine\training_v1.py", line 181, in get_weights
self._compile_time_distribution_strategy)
AttributeError: 'Sequential' object has no attribute '_compile_time_distribution_strategy'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels