Judges try to be fair and impartial. The phrase "Guilty beyond a reasonable doubt!" Sums it up, if they are not guilty enough to meet this standard then the judge is forced to declare the person innocent!
Depending on the evidence presented..sometimes yes and sometimes no. Sometimes they just have to make the most reasonable choice. And sometimes they don't have to sweat it because a jury gets to decide.