We report the wavelength-dependent nonlinear absorption (NLA) of InN film grown on anr-plane sapphire by molecular beam epitaxy technique. In order to understand the nonlinear optical properties of InN, the Z-scan measurement was performed at two different wavelengths, the photon energies of which are near (resonant excitation) and much higher (non-resonant excitation) than the bandgap of InN, respectively. Under non-resonant excitation, band-filling effect leads the dominant saturable absorption, while under resonant excitation, reverse saturable absorption dominates the nonlinear absorption. From the open-aperture Z-scan measurement under resonant excitation, we found that InN exhibits more than one nonlinear absorption process simultaneously. Particularly, under relatively weak resonant excitation, the transformation from saturable absorption to 2PA through the intermediate excitation state absorption was observed as the sample approaches the beam focus. The close-aperture Z-scan signals of InN show valley-peak response, implying that the nonlinear refraction in InN is caused by the self-focusing of the Gaussian laser beam. Using the Z-scan theory, the corresponding nonlinear parameters, such as saturation intensity, 2PA coefficient, and nonlinear refractive index, of InN were estimated.