A work vehicle comprising: an engine; a hydrostatic transmission that includes a travel pump driven by the engine and including a first pump port and a second pump port, a travel motor including a first motor port and a second motor port, and a hydraulic circuit that connects the travel pump and the travel motor, the hydraulic circuit including a first circuit that connects the first pump port and the first motor port, and a second circuit that connects the second pump port and the second motor port; a pressure sensor that outputs a signal which indicates a hydraulic pressure in at least one of the first circuit and the second circuit; the pressure sensor includes a first pressure sensor that outputs a signal indicative of the hydraulic pressure in the first circuit and a second pressure sensor that outputs a signal indicative of the hydraulic pressure in the second circuit; an accelerator operating member; an accelerator operating sensor that outputs a signal which indicates an operating amount of the accelerator operating member; and a controller that receives signals from the pressure sensor (34a, 34b) and the accelerator operating sensor, the controller being configured todetermine a compensation factor from the operating amount of the accelerator operating member and the hydraulic pressure in at least one of the first circuit and the second circuit; determine a target vehicle speed from the operating amount of the accelerator operating member; and determine a target displacement of the travel pump from the target vehicle speed and the compensation factor and/or determine a target displacement of the travel motor from the target vehicle speed and the compensation factor; characterized in that the controller is configured to determine a target differential pressure between the first circuit and the second circuit from the operating amount of the accelerator operating member; acquire an actual differential pressure between the first circuit and the second circuit from the signal from the first pressure sensor and the signal from the second pressure sensor; and determine the compensation factor based on the target differential pressure and the actual differential pressure. an engine; a hydrostatic transmission that includes a travel pump driven by the engine and including a first pump port and a second pump port, a travel motor including a first motor port and a second motor port, and a hydraulic circuit that connects the travel pump and the travel motor, the hydraulic circuit including a first circuit that connects the first pump port and the first motor port, and a second circuit that connects the second pump port and the second motor port; a pressure sensor that outputs a signal which indicates a hydraulic pressure in at least one of the first circuit and the second circuit; the pressure sensor includes a first pressure sensor that outputs a signal indicative of the hydraulic pressure in the first circuit and a second pressure sensor that outputs a signal indicative of the hydraulic pressure in the second circuit; an accelerator operating member; an accelerator operating sensor that outputs a signal which indicates an operating amount of the accelerator operating member; and a controller that receives signals from the pressure sensor (34a, 34b) and the accelerator operating sensor, the controller being configured todetermine a compensation factor from the operating amount of the accelerator operating member and the hydraulic pressure in at least one of the first circuit and the second circuit; determine a target vehicle speed from the operating amount of the accelerator operating member; and determine a target displacement of the travel pump from the target vehicle speed and the compensation factor and/or determine a target displacement of the travel motor from the target vehicle speed and the compensation factor; characterized in that the controller is configured to determine a target differential pressure between the first circuit and the second circuit from the operating amount of the accelerator operating member; acquire an actual differential pressure between the first circuit and the second circuit from the signal from the first pressure sensor and the signal from the second pressure sensor; and determine the compensation factor based on the target differential pressure and the actual differential pressure. the controller being configured todetermine a compensation factor from the operating amount of the accelerator operating member and the hydraulic pressure in at least one of the first circuit and the second circuit; determine a target vehicle speed from the operating amount of the accelerator operating member; and determine a target displacement of the travel pump from the target vehicle speed and the compensation factor and/or determine a target displacement of the travel motor from the target vehicle speed and the compensation factor; characterized in that the controller is configured to determine a target differential pressure between the first circuit and the second circuit from the operating amount of the accelerator operating member; acquire an actual differential pressure between the first circuit and the second circuit from the signal from the first pressure sensor and the signal from the second pressure sensor; and determine the compensation factor based on the target differential pressure and the actual differential pressure.