8000 Fix some example files (new naming convention, no more '_spec'). · pythonAI/tensorforce@dd04f90 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd04f90

Browse files
sven1977michaelschaarschmidt
authored andcommitted
Fix some example files (new naming convention, no more '_spec').
1 parent 105865c commit dd04f90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/unreal_engine.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ def main():
113113
agent = Agent.from_spec(
114114
spec=agent_config,
115115
kwargs=dict(
116-
states_spec=environment.states,
117-
actions_spec=environment.actions,
118-
network_spec=network_spec
116+
states=environment.states,
117+
actions=environment.actions,
118+
network=network_spec
119119
)
120120
)
121121
if args.load:

tensorforce/contrib/remote_environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __init__(self, max_msg_len=8192):
133133

134134
def send(self, message, socket_):
135135
"""
136-
Sends a message (dict) to the socket. Message consists of a 80byte len header followed by a msgpack-numpy
136+
Sends a message (dict) to the socket. Message consists of a 8-byte len header followed by a msgpack-numpy
137137
encoded dict.
138138
139139
Args:

0 commit comments

Comments
 (0)
0