Sometime, the single sample that does not work with model (dimension mismake) or None in batch (because error in loading data due to corrupt).
Instead of throwing exception and stop the program, how to just do handle (log, write something) and carry-on with Ignite trainer.
What should I do ? If possible, please give example in code.