I visited Dinant several times and if I had to choose I'd always choose it over Namur, although the fortifications in Namur are worth visiting (perhaps not revisiting though). The highlight of my trip was to kayak there, passing by several fortifications.