Getting up really early in the morning will help you avoid the crowds. Also, buy skip the line tickets to popular attractions when it's possible. I also suggest wandering over to the less busy areas of Venice, like Cannaregio, Dorsoduro, and Castello. Most of the crowds flock to the main tourist spots around Rialto Bridge, the Grand Canal, and St. Mark's Square.