The invention provides a fault diagnosis method and
system for few-sample incremental equipment in an open set environment. The method comprises the following steps: pre-training a basic model comprising a feature extractor and a
cosine similarity classifier based on a basic vibration sample; training a complementary model based on the enhanced sample and the pseudo-increment sample; the complementary model comprises a feature extractor added with a CBAM module and a square
Euclidean distance classifier; inputting a basic vibration sample into the basic model and the complementary model at the same time, and fusing the dual-model output probability; a trained dual-
model network is obtained through minimizing a
loss function; inputting real incremental data into the trained dual-
model network, freezing basic
model parameters, and finely adjusting the last two convolutional
layers and the classifier of the complementary model; and fusing the fine-tuned dual-model output probabilities to generate a final fault
classification result. According to the method, intelligent fault diagnosis under the condition of continuously introducing a new type of
data set can be realized, the applicable condition is more practical, the robustness is high, and the accuracy is high.