I'm trying to run Insightface package on raspberry pi 4 after struggling to install all required packages namely cv2 and mxnet but when I exit python or run my program I get “corrupted size vs. prev_size” which comes from the package mxnet. from here, I understand that I have low memory which doesn't let my program run correctly, I tried the solution from here to move my home dir to a USB drive but it always gets stuck on the line:
sudo rsync -aXS --exclude='/*/.gvfs' /home/. /media/home/.
can anyone help me with my problem?