We experimentally demonstrate a mode locked thulium-holmium codoped fiber laser incorporating a graphene oxide-deposited D-shaped fiber. It is shown that soliton pulses with a temporal width of ~590fs can be readily produced at a wavelength of 1.95μm.