Why wasn’t imperial Japan considered as bad as nazi germany?

Why wasn’t imperial Japan considered as bad and as hated as nazi germany?