For a scheme $X$ of finite type over $k$, and a coherent sheaf $\mathcal{F}$ on $X$, the Hilbert polynomial of $\mathcal{F}$ is defined by $\Phi(n)=\chi(\mathcal{F}(n))$.
And for a scheme $X$ over $S$ (with some suitable conditions), I was told that we can define Hilbert polynomials by defining on each fibers. That is, for each point $s\in S$, we consdier the Hibert polynomial $\Phi_s$ of the restriction $\mathcal{F}_s$ of the sheaf on the fiber $X_s$.
But I don't understand why can we define the Hilbert polynomials of $\mathcal{F}_s$?