Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion UnitySDK/Assets/ML-Agents/Scripts/Academy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public EnvironmentConfiguration(
"docs/Learning-Environment-Design-Academy.md")]
public abstract class Academy : MonoBehaviour
{
private const string kApiVersion = "API-4";
private const string kApiVersion = "API-5";

// Fields provided in the Inspector

Expand Down
2 changes: 1 addition & 1 deletion ml-agents/mlagents/envs/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, file_name=None, worker_id=0,
atexit.register(self._close)
self.port = base_port + worker_id
self._buffer_size = 12000
self._version_ = "API-4"
self._version_ = "API-5"
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 = self.get_communicator(worker_id, base_port)
Expand Down
2 changes: 1 addition & 1 deletion ml-agents/tests/mock_communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def initialize(self, inputs: UnityInput) -> UnityOutput:
)
rl_init = UnityRLInitializationOutput(
name="RealFakeAcademy",
version="API-4",
version="API-5",
log_path="",
brain_parameters=[bp]
)
Expand Down
2 changes: 1 addition & 1 deletion ml-agents/tests/trainers/test_trainer_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def dummy_start():
"brainNames": ["RealFakeBrain"],
"externalBrainNames": ["RealFakeBrain"],
"logPath":"RealFakePath",
"apiNumber":"API-3",
"apiNumber":"API-5",
"brainParameters": [{
"vectorObservationSize": 3,
"numStackedVectorObservations" : 2,
Expand Down