MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleYOLO / get_current_memory_mb

Function get_current_memory_mb

deploy/python/utils.py:269–292  ·  view source on GitHub ↗

It is used to Obtain the memory usage of the CPU and GPU during the running of the program. And this function Current program is time-consuming.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

predict_image_sliceMethod · 0.90
predict_imageMethod · 0.90

Calls 1

getMethod · 0.80

Tested by

no test coverage detected