cleared the input tensor after use
This commit is contained in:
parent
f67219de55
commit
730341362e
|
@ -52,6 +52,7 @@ class SSDMobileNetV2 implements ObjectDetectionService {
|
|||
maxNumberBoxes,
|
||||
minScore
|
||||
);
|
||||
tfImage.dispose();
|
||||
return detections;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue