Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
39bf1e59
Commit
39bf1e59
authored
Jan 22, 2021
by
Shashank Suhas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed tf compatibility and disabled eager execution
parent
fcfc899d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
examples/A3C-Gym/simulator.py
examples/A3C-Gym/simulator.py
+2
-0
examples/DeepQNetwork/DQNModel.py
examples/DeepQNetwork/DQNModel.py
+2
-1
No files found.
examples/A3C-Gym/simulator.py
View file @
39bf1e59
...
...
@@ -160,6 +160,8 @@ if __name__ == '__main__':
import
random
import
gym
print
(
"This function is called"
)
class
NaiveSimulator
(
SimulatorProcess
):
def
_build_player
(
self
):
return
gym
.
make
(
'Breakout-v0'
)
...
...
examples/DeepQNetwork/DQNModel.py
View file @
39bf1e59
...
...
@@ -3,13 +3,14 @@
import
abc
import
tensorflow
as
tf
import
tensorflow
.compat.v1
as
tf
from
tensorpack
import
ModelDesc
from
tensorpack.tfutils
import
gradproc
,
optimizer
,
summary
,
varreplace
from
tensorpack.tfutils.scope_utils
import
auto_reuse_variable_scope
from
tensorpack.utils
import
logger
tf
.
disable_eager_execution
()
class
Model
(
ModelDesc
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment