Harry and the Bucketful of Dinosaurs by Ian Whybrow (2010)
Harry finds some old dinosaurs in his Grandma’s attic. He cleans them up and makes them his own, carefully (and accurately) naming each one. Harry and his dinosaurs go everywhere together. But one day, after an exciting train ride, Harry accidentally leaves the dinosaurs on the train.