Computer-readable recording medium having stored therein training program, method for training, and information processing apparatus
AssigneeFujitsu Limited
InventorKentaro TAKEMOTO
Life of this patent
Estimating the term…
Abstract
An estimator is trained through a metric learning that determines a positive example training data and a negative example training data from among a plurality of training data used to train the estimator, brings a feature corresponding the particular label calculated in relation to the positive example training data close to a feature corresponding the particular label calculated in relation to the reference data, and moves a feature corresponding the particular label calculated in relation to the negative example training data away from the feature corresponding the particular label calculated in relation to the reference data.
Claims6
A non-transitory computer-readable recording medium having stored therein a training program that causes a computer to execute a process for training an estimator that estimates, from a feature of an entire part of an image, a first label indicating a subject included in the image, a second label indicating an object included in the image, and a third label indicating a relationship between the subject and the object, the process comprising:
- determining, among a plurality of pieces of training data to be used for training the estimator, positive example training data having the first label, the second label, and the third label, a particular label of the first label, the second label, and the third label of the positive example training data coinciding with a particular label of reference data included in the plurality of pieces of training data, at least one label of the first label, the second label, and the third label of the positive example training data except for the particular label not coinciding with a corresponding label of the reference data;
- determining a negative example training data having the first label, the second label, and the third label among a plurality of pieces of training data, the particular label of the negative example training data not coinciding with the particular label of the reference data and labels of the negative example training data except for the particular label coinciding with corresponding labels of the reference data;
- and
- executing metric learning on the estimator, the metric learning bringing a feature corresponding the particular label calculated in relation to the positive example training data close to a feature corresponding the particular label calculated in relation to the reference data and moving a feature corresponding the particular label calculated in relation to the negative example training data away from the feature corresponding the particular label calculated in relation to the reference data.
A computer-implemented method for training an estimator that estimates, from a feature of an entire part of an image, a first label indicating a subject included in the image, a second label indicating an object included in the image, and a third label indicating a relationship between the subject and the object, the method comprising:
- determining, among a plurality of pieces of training data to be used for training the estimator, positive example training data having the first label, the second label, and the third label, a particular label of the first label, the second label, and the third label of the positive example training data coinciding with a particular label of reference data included in the plurality of pieces of training data, at least one label of the first label, the second label, and the third label of the positive example training data except for the particular label not coinciding with a corresponding label of the reference data;
- determining a negative example training data having the first label, the second label, and the third label among a plurality of pieces of training data, the particular label of the negative example training data not coinciding with the particular label of the reference data and labels of the negative example training data except for the particular label coinciding with corresponding labels of the reference data;
- and
- executing metric learning on the estimator, the metric learning bringing a feature corresponding the particular label calculated in relation to the positive example training data close to a feature corresponding the particular label calculated in relation to the reference data and moving a feature corresponding the particular label calculated in relation to the negative example training data away from the feature corresponding the particular label calculated in relation to the reference data.
An information processing apparatus for training an estimator that estimates, from a feature of an entire part of an image, a first label indicating a subject included in the image, a second label indicating an object included in the image, and a third label indicating a relationship between the subject and the object, the information processing apparatus comprising:
- a memory;
- and
- a processor coupled to the memory, the processor being configured to:
- determine, among a plurality of pieces of training data to be used for training the estimator, positive example training data having the first label, the second label, and the third label, a particular label of the first label, the second label, and the third label of the positive example training data coinciding with a particular label of reference data included in the plurality of pieces of training data, at least one label of the first label, the second label, and the third label of the positive example training data except for the particular label not coinciding with a corresponding label of the reference data;
- determine a negative example training data having the first label, the second label, and the third label among a plurality of pieces of training data, the particular label of the negative example training data not coinciding with the particular label of the reference data and labels of the negative example training data except for the particular label coinciding with corresponding labels of the reference data;
- and
- execute metric learning on the estimator, the metric learning bringing a feature corresponding the particular label calculated in relation to the positive example training data close to a feature corresponding the particular label calculated in relation to the reference data and moving a feature corresponding the particular label calculated in relation to the negative example training data away from the feature corresponding the particular label calculated in relation to the reference data.
Dependencies are inferred from the claim text.