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
fc0b965a
Commit
fc0b965a
authored
May 20, 2016
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some fix
parent
a28f30e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
examples/mnist-convnet.py
examples/mnist-convnet.py
+1
-1
tensorpack/__init__.py
tensorpack/__init__.py
+1
-0
tensorpack/dataflow/dataset/atari.py
tensorpack/dataflow/dataset/atari.py
+7
-2
No files found.
examples/mnist-convnet.py
View file @
fc0b965a
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
# File: mnist-convnet.py
# File: mnist-convnet.py
# Author: Yuxin Wu <ppwwyyxx@gmail.com>
# Author: Yuxin Wu <ppwwyyxx@gmail.com>
import
tensorflow
as
tf
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
os
,
sys
import
os
,
sys
import
argparse
import
argparse
...
...
tensorpack/__init__.py
View file @
fc0b965a
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
# File: __init__.py
# File: __init__.py
# Author: Yuxin Wu <ppwwyyxx@gmail.com>
# Author: Yuxin Wu <ppwwyyxx@gmail.com>
import
numpy
import
cv2
# fix https://github.com/tensorflow/tensorflow/issues/1924
import
cv2
# fix https://github.com/tensorflow/tensorflow/issues/1924
from
.
import
models
from
.
import
models
from
.
import
train
from
.
import
train
...
...
tensorpack/dataflow/dataset/atari.py
View file @
fc0b965a
...
@@ -2,15 +2,20 @@
...
@@ -2,15 +2,20 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# File: atari.py
# File: atari.py
# Author: Yuxin Wu <ppwwyyxxc@gmail.com>
# Author: Yuxin Wu <ppwwyyxxc@gmail.com>
from
ale_python_interface
import
ALEInterface
import
numpy
as
np
import
numpy
as
np
import
time
import
time
import
os
import
os
import
cv2
import
cv2
from
collections
import
deque
from
collections
import
deque
from
...utils
import
get_rng
from
...utils
import
get_rng
,
logger
from
.rlenv
import
RLEnvironment
from
.rlenv
import
RLEnvironment
try
:
from
ale_python_interface
import
ALEInterface
except
ImportError
:
logger
.
warn
(
"Cannot import ale_python_interface, Atari won't be available."
)
__all__
=
[
'AtariDriver'
,
'AtariPlayer'
]
__all__
=
[
'AtariDriver'
,
'AtariPlayer'
]
class
AtariDriver
(
object
):
class
AtariDriver
(
object
):
...
...
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