File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 72
72
"depth" : 0 ,
73
73
"source" : " local" ,
74
74
"dependencies" : {
75
- "com.unity.sentis" : " 1.3.0-pre.1 " ,
75
+ "com.unity.sentis" : " 1.3.0-pre.2 " ,
76
76
"com.unity.modules.imageconversion" : " 1.0.0" ,
77
77
"com.unity.modules.jsonserialize" : " 1.0.0" ,
78
78
"com.unity.modules.physics" : " 1.0.0"
104
104
"url" : " https://packages.unity.com"
105
105
},
106
106
"com.unity.sentis" : {
107
- "version" : " 1.3.0-pre.1 " ,
107
+ "version" : " 1.3.0-pre.2 " ,
108
108
"depth" : 1 ,
109
109
"source" : " registry" ,
110
110
"dependencies" : {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ and this project adheres to
22
22
23
23
### Bug Fixes
24
24
#### com.unity.ml-agents / com.unity.ml-agents.extensions (C#)
25
+ - Fixed missing tensor Dispose in ModelRunner (#)
25
26
26
27
#### ml-agents / ml-agents-envs
27
28
- Bumped numpy version to >=1.21.2,<1.24.0 (#5997 )
Original file line number Diff line number Diff line change @@ -150,6 +150,10 @@ public void Dispose()
150
150
if ( m_Engine != null )
151
151
m_Engine . Dispose ( ) ;
152
152
m_TensorAllocator ? . Reset ( false ) ;
153
+ foreach ( var ( name , tensor ) in m_InputsByName )
154
+ {
155
+ tensor . Dispose ( ) ;
156
+ }
153
157
}
154
158
155
159
void FetchSentisOutputs ( string [ ] names )
You can’t perform that action at this time.
0 commit comments