10^4 is still too slow for a sample.
Reworking the trainer.