i have shared python tutorial on how to get size of any python object using sys.getsizeof() function.here is exact code i used for this videohow to get size
Shape, Size and Data Type of an Array
ilastik - Object Classification
Will McGugan on X: I'm working on an 'inspect' feature for #Rich
Measuring size of objects in an image with Opencv Python to assess
Variable's memory size in Python - AskPython
Improving Python S3 Client Performance with Rust
Class Variables vs Instance Variables in Python
image - How to get the size of an object using OpenCV python
Java get file size
How does python store objects in memory - Stack Overflow
Python: Get the size of an object in bytes - w3resource
How to Get the Size of a String in Python? – Be on the Right Side
Measure the size of an object with Opencv, Aruco marker and
Variable's memory size in Python - AskPython
Variable Explorer — Spyder 5 documentation