Update graph_train.py