A non-transitory computer-readable storage medium storing a computer-executable program for executing a method of controlling an image capturing apparatus that communicates with an information processing apparatus storing first learned models associated with a plurality of classes, respectively,
- wherein the method comprises:
- generating a captured image by capturing an image of an object;
- executing processing on the captured image using one of the first learned models which is associated with a high-priority class which is one of the plurality of classes;
- generating history data based on at least one of the captured image and image capturing information at the time of capturing the image;
- acquiring learned coefficient parameters of the first learned model associated with another class of the plurality of classes, from the information processing apparatus, based on the generated history data;
- and
- changing settings of the one of the first learned models which is used for execution of the processing on the captured image, based on the acquired learned coefficient parameters.