to run mnist mdsh