py_train_on_whole_dataset.py added and modified