how to train model

I like this project very much,but I have problem is how to train this model,thanks