1. It's not uncommon to gain a few pounds when you start strength training.

2. In my experience, it's very hard to lose weight when doing very long bike rides. In fact I gained weight when I trained for centuries. I was always hungry so I ate too much.