A greenhouse cultivation device employing heat generated by a variable-frequency drive or inverter. The device comprises a greenhouse (1). Several rows of heat dissipation elements (2) and ventilation pipes (3) are buried underground in the greenhouse. The heat dissipation elements are formed by multiple sheet-like radiators (21) connected in series, and each of the radiators is provided with a cooling liquid inlet (211) and a cooling liquid outlet (212). The cooling liquid inlet of a first radiator is connected to a heat generation element of a variable-frequency drive or an inverter via a cooling liquid pipe (4). The cooling liquid outlet of a last radiator is connected to an in-line pump (5) via a cooling liquid pipe. The ventilation pipes have two ends protruding from the ground and located outside of the greenhouse, and have walls extending upward to form several air discharge pipes (32) protruding from the ground and located within the greenhouse. A roof of the greenhouse is provided with a skylight. A