Closed devops35 closed 3 years ago
In this case you can probably use less memory by loading smaller images. Or you can resize large images to smaller ones using resizeBilinear. You may also need to call tf.dispose() on tensors once you are done using them to free up memory for subsequent operations.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you.
Closing as stale. Please @mention us if this needs more attention.
I can't run the webcam demo on my real phone (iphone 6). It exceeds 650 mb ram. Then my application crashes. I can run it in the simulator, it works very, very slowly there. It takes minutes to work. In addition, the ram used is about 2 GB.
my package.json;
webcam_demo.tsx;
style_transfer.ts;