Thousands gathered in San Francisco for a nationwide protest against ICE, with many students walking out of class to take part.