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
313723df
Commit
313723df
authored
Jun 09, 2016
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add msgpack to requirements
parent
47f76e94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
requirements.txt
requirements.txt
+2
-1
tensorpack/RL/simulator.py
tensorpack/RL/simulator.py
+1
-0
No files found.
requirements.txt
View file @
313723df
...
@@ -2,4 +2,5 @@ termcolor
...
@@ -2,4 +2,5 @@ termcolor
pillow
pillow
scipy
scipy
tqdm
tqdm
dill
msgpack
msgpack-numpy
tensorpack/RL/simulator.py
View file @
313723df
...
@@ -108,6 +108,7 @@ class SimulatorMaster(threading.Thread):
...
@@ -108,6 +108,7 @@ class SimulatorMaster(threading.Thread):
self
.
send_queue
=
queue
.
Queue
(
maxsize
=
100
)
self
.
send_queue
=
queue
.
Queue
(
maxsize
=
100
)
self
.
send_thread
=
LoopThread
(
lambda
:
self
.
send_thread
=
LoopThread
(
lambda
:
self
.
s2c_socket
.
send_multipart
(
self
.
send_queue
.
get
()))
self
.
s2c_socket
.
send_multipart
(
self
.
send_queue
.
get
()))
self
.
send_thread
.
daemon
=
True
self
.
send_thread
.
start
()
self
.
send_thread
.
start
()
# make sure socket get closed at the end
# make sure socket get closed at the end
...
...
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