A dress collocation method and system based on attention knowledge extraction, and a storage medium. The method comprises: collecting dress collocation data of a fashion community website, and extracting a dress collocation rule; constructing a student network: acquiring upper-clothes visual features, upper-clothes text features, lower-clothes visual features and lower-clothes text features; modeling semantic relationships of different modals based on the acquired features by means of a multi-layer perceptron; calculating the compatibility between each upper clothes garment and each lower clothes garment according to a modeling resu building a student network based on the obtained compatibility by means of a Bayesian personalized sorting algorithm; constructing a teacher network: building a constraint function of a dress collocation rule according to the compatibility between each upper clothes garment and each lower clothes garment; realizing confidence allocation of different dress collocation rules by means of an attention mechanism; building the teacher network according to the constraint function and the confidence of the dress collocation rule; and training the student network by means of the teacher network, and carrying out dress collocation by means of the trained student network.
展开▼