It will help a little, but training will not compensate entirely for the food you eat. At most you will burn 500 calories in a very intense workout session, and a nice meal will be just as big, if not heavier in terms of calories. So it is a help, but not a cart blanche to eat whatever you want to.