Hey! I faced exactly the same situation and freeze at the same point with same messages. Here is a one reason. There is room some other reasons as well.

this is because of a problem with your .record file
check both train.record and test.record contain some capacity(megabytes)
(in my case i have misspelled the name of the training folder. but the .record generation program managed to produce an empty file. I didn’t noticed)
simple fix.