Residual memory inference network for regression tracking with weighted gradient harmonized loss