You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In python, same string points to the same address, causing whole memory space of ann which reference the string hand_type can't be freed. annis a variable that takes up a lot of memory space and cannot be freed in each loop. As a result, I got memory leak. str.lower() will allocate new memory space which is different from ann['hand_type'].
this line would cause memory leak, resulting in "corrupted size vs. prev_size":
InterHand2.6M/data/InterHand2.6M/dataset.py
Line 84 in 98502a6
It suppoes to allocate new memory space for
handtype
like this:The text was updated successfully, but these errors were encountered: