Two-Stage Learning For the Flexible Job Shop Scheduling Problem