Commit 40d6dc9
authored
Simplifying the Agent reset logic (#3242)
* Simplifying the Agent reset logic
- Agents will reset in ResetIfDone immediately after being marked Done
- Agents will always request a decision right after reset
- This change implies that additional messages might be sent to Python
* Fixing the Unit Tests
* Added a note in the Migrating.md document1 parent 0b16a7e commit 40d6dc9
File tree
3 files changed
+5
-27
lines changed- UnitySDK/Assets/ML-Agents
- Editor/Tests
- Scripts
- docs
3 files changed
+5
-27
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | 196 | | |
201 | 197 | | |
202 | 198 | | |
| |||
757 | 753 | | |
758 | 754 | | |
759 | 755 | | |
760 | | - | |
761 | 756 | | |
762 | 757 | | |
763 | 758 | | |
| |||
826 | 821 | | |
827 | 822 | | |
828 | 823 | | |
829 | | - | |
830 | | - | |
831 | 824 | | |
832 | 825 | | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
| 826 | + | |
849 | 827 | | |
850 | 828 | | |
851 | 829 | | |
| |||
854 | 832 | | |
855 | 833 | | |
856 | 834 | | |
857 | | - | |
| 835 | + | |
| 836 | + | |
858 | 837 | | |
859 | 838 | | |
860 | 839 | | |
861 | 840 | | |
862 | 841 | | |
863 | 842 | | |
864 | | - | |
865 | | - | |
866 | 843 | | |
867 | 844 | | |
868 | 845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments