Optical Quantum Sensing for Agnostic Environments via Deep Learning