Skip to content

Release v0.8 #1931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
Apr 12, 2019
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d362adb
Add a script to record videos every X seconds or academy steps (#1414)
LeSphax Feb 12, 2019
c050705
Add timeout wait param (Develop) (#1700)
awjuliani Feb 19, 2019
8761fc3
Add back 'get_communicator' in UnityEnvironment
harper-u3d Feb 20, 2019
e0c7da3
Move 'take_action' into Policy class (#1669)
Feb 25, 2019
470a9d2
Develop windows install instructions update (#1760)
dmalpica Feb 26, 2019
e54f3e8
Merge pull request #1765 from Unity-Technologies/release-v0.7
vincentpierre Feb 28, 2019
2400e7b
Fixup link
mvuksano Feb 28, 2019
06e2188
Merge pull request #1771 from markovuksanovic/patch-2
eshvk Mar 5, 2019
96cac6c
Add line to describe what Branch Descriptions is (#1772)
rafvasq Mar 5, 2019
361bb90
Fix for Brains not reinitialising when the scene is reloaded. (#1758)
tkggwatson Mar 13, 2019
fabc14f
Refactor RayPerception and add RayPerception2D (#1793)
awjuliani Mar 13, 2019
aeeaaad
Optimisation - Removed a lot of garbage allocation (#1804)
tkggwatson Mar 19, 2019
2c4a493
Develop codacy test (#1667)
xiaomaogy Mar 22, 2019
0f54267
Add doc about AVX support (#1865)
awjuliani Mar 25, 2019
adfd705
Fixed compilation under Scripting API compatibility level ".NET Stand…
mantasp Mar 28, 2019
c4c35c6
API for sending custom protobuf messages to and from Unity. (#1595)
malmaud Mar 28, 2019
425fad1
Update BrainParametersDrawer.cs (#1840)
rafvasq Mar 28, 2019
6bdcbfc
Fix typos in Gym Wrapper README.md (#1823)
supercurious Mar 28, 2019
74ae0ea
External Contribution: Use RenderTexture instead of Camera for Visual…
Mar 28, 2019
b1d7ac5
Split `mlagents` into two packages (#1812)
awjuliani Apr 1, 2019
5a5246a
Update to documentation (#1872)
vincentpierre Apr 1, 2019
296944e
Adding instructions to Basic Guide for Running in Python (#1725)
borisneal Apr 1, 2019
4849ef0
Added logging per Brain of time to update policy, time elapsed during…
eshvk Mar 1, 2019
b89bb0f
Reorganize to make metrics collection more accurate
eshvk Mar 29, 2019
69b223c
Merge pull request #1858 from Unity-Technologies/develop-esh-metrics
eshvk Apr 3, 2019
e59eff4
Adds SubprocessUnityEnvironment for parallel envs (#1751)
Apr 3, 2019
51f82fd
Soccer Twos - Fixes missing tag change, plus code cleanup (#1813)
awjuliani Apr 3, 2019
2d8300f
* Ticked API :
eshvk Apr 3, 2019
a547892
Included TFS page to redirect (#1893)
shihzy Apr 4, 2019
9aa47db
Install dependencies for ml-agents-envs and ml-agents in Docker (#1895)
eshvk Apr 4, 2019
a2aa7a2
Add documentation for new multi-env CLI flags
harper-u3d Apr 5, 2019
3902463
Fix not saving .nn file after max_timesteps (#1896)
Apr 8, 2019
8ee84fe
Fix environment factory pickling on Windows (#1912)
Apr 9, 2019
d2ad6e8
Fix parallel writes to UnitySDK.log on Windows
Apr 9, 2019
15fcf95
Fix subprocess model saving on Windows
Apr 8, 2019
35d6706
Fix '--slow' flag after environment updates
Apr 11, 2019
2e945ba
Release v0.8 docs (#1924)
shihzy Apr 12, 2019
30a5738
Merge pull request #1922 from Unity-Technologies/release-v08-slowflag
eshvk Apr 12, 2019
d6e05c3
Updated all the scenes’s model and the bouncer’s expected reward
xiaomaogy Apr 12, 2019
caa9290
Merge pull request #1928 from Unity-Technologies/release-v0.8-model-u…
eshvk Apr 12, 2019
bb22226
Updated the 3dballhard model
xiaomaogy Apr 12, 2019
b02cd29
Basic Retrain (#1929)
eshvk Apr 12, 2019
b9a9bf5
Merge pull request #1930 from Unity-Technologies/release-v0.8-model-u…
eshvk Apr 12, 2019
86c4574
Migration doc fixes
eshvk Apr 12, 2019
ad97e16
Merge pull request #1933 from Unity-Technologies/release-v0.8-fix
eshvk Apr 12, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add back 'get_communicator' in UnityEnvironment
Removing this function breaks some tests, and the only way around
this at this time is a bigger refactor or hacky fixes to tests.

For now, I'd suggest we just revert this small part of a change
and keep a refactor in mind for the future.
  • Loading branch information
harper-u3d authored and Jonathan Harper committed Feb 20, 2019
commit 8761fc388638114f2869ea74fcddc557117221b0
6 changes: 5 additions & 1 deletion ml-agents/mlagents/envs/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, file_name=None, worker_id=0,
self._version_ = "API-6"
self._loaded = False # If true, this means the environment was successfully loaded
self.proc1 = None # The process that is started. If None, no process was started
self.communicator = RpcCommunicator(worker_id, base_port, timeout_wait)
self.communicator = self.get_communicator(worker_id, base_port, timeout_wait)

# If the environment name is None, a new environment will not be launched
# and the communicator will directly try to connect to an existing unity environment.
Expand Down Expand Up @@ -129,6 +129,10 @@ def brain_names(self):
def external_brain_names(self):
return self._external_brain_names

@staticmethod
def get_communicator(worker_id, base_port, timeout_wait):
return RpcCommunicator(worker_id, base_port, timeout_wait)

def executable_launcher(self, file_name, docker_training, no_graphics):
cwd = os.getcwd()
file_name = (file_name.strip()
Expand Down