You could hammer down just those tacks in the middle of the tack strip (where people invariably step), while leaving those near the door jambs to hold the carpet in place.
Not my idea, I lifted it from here: http://www.homebuyerstalk.com/showthread.php?t=40485