We figured out giant bones were of lizard-like creatures and not giant humans around the same time we invented the telegraph, made the first trains and were working on the first general purpose computer.
And dinosaurs were huge. Imagine if the human civilization dies, and another one emerges in a million years, they'll probably be oblivious of our existence by the time they start their space program, and would figure out we had a civilization of our own right about... now.
I remember watching the VOY episode, Distant Origins, which had in it a background story that said that a dinosaurs species achieved sentience and became intelligent enough to travel in space.
I know it is just fiction, but is there any chance that a species that lived millions of years before us could have achieved sentience. I am not only talking about dinosaurs but other ancient species as well. Animals have been around for 600 millions years at least.