You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Migrating.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@
10
10
*`UnitySDK/Assets/ML-Agents/Scripts/Communicator.cs` and its class `Communicator` have been renamed to `UnitySDK/Assets/ML-Agents/Scripts/ICommunicator.cs` and `ICommunicator` respectively.
11
11
* The `SpaceType` Enums `discrete`, and `continuous` have been renamed to `Discrete` and `Continuous`.
12
12
* We have removed the `Done` call as well as the capacity to set `Max Steps` on the Academy. Therefore an AcademyReset will never be triggered from C# (only from Python). If you want to reset the simulation after a fixed number of steps, or when an event in the simulation occurs, we recommend looking at our multi-agent example environments (such as BananaCollector). In our examples, groups of Agents can be reset through an "Area" that can reset groups of Agents.
13
+
* The import for `mlagents.envs.UnityEnvironment` was removed. If you are using the Python API, change `from mlagents.envs import UnityEnvironment` to `from mlagents.envs.environment import UnityEnvironment`.
### The <Executable_Name>_Data folder hasn't been copied cover
240
240
241
-
If you've built your Linux executable, but forget to copy over the corresponding <Executable_Name>_Data folder, you will see error message like the following:
241
+
If you've built your Linux executable, but forget to copy over the corresponding <Executable_Name>_Data folder, you will see error message like the following:
242
242
243
243
```sh
244
244
Set current directory to /home/ubuntu/ml-agents/ml-agents
@@ -269,7 +269,7 @@ mlagents.envs.exception.UnityTimeOutException: The Unity environment took too lo
269
269
The environment and the Python interface have compatible versions.
270
270
```
271
271
272
-
It would be also really helpful to check your /home/ubuntu/.config/unity3d/<Some_Path>/Player.log to see what happens with your Unity environment.
272
+
It would be also really helpful to check your /home/ubuntu/.config/unity3d/<Some_Path>/Player.log to see what happens with your Unity environment.
273
273
274
274
### Could not launch X Server
275
275
@@ -310,4 +310,4 @@ You might see something like:
310
310
```sh
311
311
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
312
312
```
313
-
This means the NVIDIA's driver needs to be updated. Refer to [this section](Training-on-Amazon-Web-Service.md#update-and-setup-nvidia-driver) for more information.
313
+
This means the NVIDIA's driver needs to be updated. Refer to [this section](Training-on-Amazon-Web-Service.md#update-and-setup-nvidia-driver) for more information.
Copy file name to clipboardExpand all lines: docs/Training-on-Microsoft-Azure.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ To verify that all steps worked correctly:
45
45
7. Test the instance setup from Python using:
46
46
47
47
```python
48
-
from mlagents.envs import UnityEnvironment
48
+
from mlagents.envs.environmentimport UnityEnvironment
49
49
50
50
env = UnityEnvironment(<your_env>)
51
51
```
@@ -79,9 +79,9 @@ the GPU is being used by running `nvidia-smi` from the command line.
79
79
## Monitoring your Training Run with TensorBoard
80
80
81
81
Once you have started training, you can [use TensorBoard to observe the
82
-
training](Using-Tensorboard.md).
82
+
training](Using-Tensorboard.md).
83
83
84
-
1. Start by [opening the appropriate port for web traffic to connect to your VM](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal).
84
+
1. Start by [opening the appropriate port for web traffic to connect to your VM](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal).
85
85
86
86
* Note that you don't need to generate a new `Network Security Group` but
87
87
instead, go to the **Networking** tab under **Settings** for your VM.
0 commit comments