They had no underwater breathing sets, and thus had to keep their heads above water to breathe. They were discovered and taken prisoner as they attempted to leave the harbour.
1 November 1918: Two men of the Regia Marina, Raffaele Paolucci and Raffaele Rossetti, in diving suits, rode a primitive manned torpedo (nicknamed Mignatta or "leech") into the Austro-Hungarian Navy base at Pola (Istria),
where they sank the Austrian battleship Viribus Unitis and the freighter Wien using limpet mines. They had no breathing sets and they had to keep their heads above water, and thus they were discovered and taken prisoner.

The pair resurrected the idea of Paolucci and Rossetti.
Human torpedo
Kaiten - torbedo
-----------------------------------------
In the 1920s, sport spearfishing without breathing apparatus became popular on the Mediterranean coast of France and Italy. This spurred the development of modern swimfins, diving masks and snorkels.
In the 1930s Italian sport spearfishermen began using industrial or submarine-escape oxygen rebreathers, starting scuba diving in Italy.
---------------------------------------

In operation, the Maiale torpedo was carried by another vessel (usually a normal submarine), and launched near the target. Most manned torpedo operations were at night and during the new moon to cut down the risk of being seen.
The idea was successfully applied by the Italian navy (Regia Marina) early in World War II and then copied by the British when they discovered the Italian operations.
The official Italian name for their craft was Siluro a Lenta Corsa (SLC or "Slow-running torpedo"), but the Italian operators nicknamed it Maiale (Italian for "pig"; plural maiali) because it was difficult to steer. The British copies were named "chariots".
A typical manned torpedo has a propeller and hydroplanes at the rear, side hydroplanes in front, and a control panel and controls for its front rider. It usually has two riders who sit facing forwards. It has navigation aids such as a compass, and nowadays modern aids such as sonar and GPS positioning and modulated ultrasound communications gear.
It may have an air (or other breathing gas) supply so its riders do not have to drain their own apparatus while they are riding it. In some the riders' seats are enclosed; in others the seats are open at the sides as in sitting astride a horse. The seat design includes room for the riders' swimfins (if used). There are flotation tanks (typically four: left fore, right fore, left aft, right aft), which can be flooded or blown empty to adjust buoyancy and attitude.
-----------------
1909: The British designer Commander Godfrey Herbert received a patent for a manned torpedo. During World War I, it was rejected by the War Office as impracticable and unsafe.