One thing that _probably_ helped me stick with accordion is finding a role model early on. He's on YouTube and plays the instrument very well and is super friendly and enthusiastic. He never says, "this is the only way to learn X," like a lot of music teachers do. His philosophy is, "I'll show you some techniques that worked for me, give them a try and see if they work for you." I figure I can call myself successful if I'm only ever as half as good as him, in terms of both musical ability and his general outlook on life.
The other thing is, first and foremost, play for fun! Yeah, it's a slog to get through some of the theory and repetition in the beginning but if you get burned out, find something more engaging to do for a while (e.g. mimicking a catchy pop song) and then come back to the theory later, knowing that grokking it will help you play cool stuff later.