Do you believe that the Sun is merely a figment of your imagination?
In my opinion, you're asking that question based on the assumption that there is an separate subject experiencing a distinct material object. It is a loaded question.
If I say no, this implies a material reality exists. If I say yes, this implies only [my] mind exists. Neither represents the view I am presenting.
My intention was not necessarily to begin an ontological discussion, but simply point out that empiricism does not necessitate materialism or similar.
Hence it is unfair to say someone else that they "don't understand science", then conflate physics with [one's own] metaphysics.
One could very easily argue that "modern science" isn't materialistic anyway. Particles, and their constituents, are not objective material things, but the points at which probability waves intersect.
In other words, mathematics derives a probability from a mass of possibilites, and these are called "quanta", the smallest quantifiable units of energy.
Outside the context of measurement
, however, they are not known to "exist" in any established sense.
So in this respect I think it is innacurate to suggest that science supports any kind of fundamental ontology whatsoever.