How safe is the campus at night?

I’m a grad student and I have a very late class starting next week (7pm to 10pm) that meets once a week. I commute so I am rarely on campus but I just wanted to know how safe it is? Should I be worried at all?