Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm-tf-agents
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高雅喆
gm-tf-agents
Commits
f787bcc6
Commit
f787bcc6
authored
Jul 08, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ignore venv
parent
58ccc2d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
.gitignore
.gitignore
+1
-0
tf_agents_test.py
tf_agents_test.py
+2
-0
No files found.
.gitignore
View file @
f787bcc6
...
@@ -5,3 +5,4 @@ data/
...
@@ -5,3 +5,4 @@ data/
*.csv
*.csv
*.ipynb
*.ipynb
.idea/
.idea/
venv/
tf_agents_test.py
View file @
f787bcc6
...
@@ -302,6 +302,8 @@ def train_eval(
...
@@ -302,6 +302,8 @@ def train_eval(
)
)
for
_
in
range
(
train_steps_per_iteration
):
for
_
in
range
(
train_steps_per_iteration
):
experience
,
_
=
next
(
iterator
)
experience
,
_
=
next
(
iterator
)
print
(
"experience"
,
"*"
*
100
)
print
(
experience
)
train_loss
=
tf_agent
.
train
(
experience
)
train_loss
=
tf_agent
.
train
(
experience
)
action_step
=
eval_policy
.
action
(
time_step
)
action_step
=
eval_policy
.
action
(
time_step
)
print
(
"-"
*
100
)
print
(
"-"
*
100
)
...
...
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