Robust estimation via Generative Adversarial Networks