  The effects of strong magnetic fields on the inner crust of neutron stars are
investigated after taking into account the anomalous magnetic moments of
nucleons. Energy spectra and wave functions for protons and neutrons in a
uniform magnetic field are provided. The particle spin polarizations and the
yields of protons and neutrons are calculated in a free Fermi gas model.
Obvious spin polarization occurs when $B\geq10^{14}$G for protons and
$B\geq10^{17}$G for neutrons, respectively. It is shown that the neutron spin
polarization depends solely on the magnetic field strength.
