vertex paint final rendering
There are two independent switches to make an object visible: 

The Eye icon toggles visibility in the viewport

The Camera icon toggles visibility at render time



Pressing H to hide an object will only make the object invisible in the viewport, but not for render. The object will be visible when you render unless you switch off the camera.