If Azerbaijan wants to retake its territory they will have to accept that it have serious losses, as the Armenias have held the area for decades and have planned for such.
Also the initial push through defence lines will have had a high casualty rate. That said, they are past the defence lines...