摘要:
The present disclosure discloses a joint training method and apparatus for models, a device and a storage medium, and relates to the technical field of artificial intelligence. A specific implementation includes: training a first-party model to be trained using a first sample quantity of first-party training samples to obtain first-party feature gradient information; acquiring second-party feature gradient information and second sample quantity information from a second party, where the second-party feature gradient information is obtained by training, by the second party, a second-party model to be trained using a second sample quantity of second-party training samples; and determining model joint gradient information according to the first-party feature gradient information, the second-party feature gradient information, first sample quantity information and the second sample quantity information, and updating the first-party model and the second-party model according to the model joint gradient information. The embodiments of the present disclosure may determine, according to the gradients and sample quantities of training parties, the model joint gradient information suitable for updating the models of both parties, thereby greatly improving the efficiency of joint training of models.
摘要:
The present disclosure provides a method for calculating image similarity, including S1: extracting feature points and corresponding feature vectors from a first image and a second image, respectively; S2: pairing all the feature points in the first image with all the feature points in the second image according to similarity by comparing first distances between the feature vectors in the first image and the feature vectors in the second image; S3: sorting the paired feature points according to the similarity from high to low, and selecting top N feature point pairs in the first image and the second image; S4: randomly selecting n reference points from the top N feature point pairs in the first image and the second image, and respectively calculating X-direction and Y-direction relative positions of remaining feature points in the first image or the second image with respect to the reference points; and S5: calculating an X-axis distance according to the X-direction relative positions of the remaining feature points in the first image and the second image with respect to the reference points, calculating a Y-axis distance according to the Y-direction relative positions of the remaining feature points in the first image and the second image with respect to the reference points, calculating the X-axis distance and the Y-axis distance and setting a threshold range to determine whether the first image and the second image are a same image. Detection errors resulting from mismatch of the feature points can be overcome.
摘要:
A method of monitoring a blind spot of a monitoring vehicle by using a blind spot monitor is provided. The method includes steps of: the blind spot monitor (a) acquiring a feature map from rear video images, on condition that video images with reference vehicles in the blind spot are acquired, reference boxes for the reference vehicles are created, and the reference boxes are set as proposal boxes; (b) acquiring feature vectors for the proposal boxes on the feature map by pooling, inputting the feature vectors into a fully connected layer, acquiring classification and regression information; and (c) selecting proposal boxes by referring to the classification information, acquiring bounding boxes for the proposal boxes by using the regression information, determining the pose of the monitored vehicle corresponding to each of the bounding boxes, and determining whether a haphazard vehicle is located in the blind spot of the monitoring vehicle.
摘要:
A method for dynamically publishing an image including providing at least one parameter, generating the image using the at least one, parameter, verifying that the generated image is of an appropriate size, formatting the generated image of an appropriate size to comply with a standard image file format, and making the formatted image available over a network.
摘要:
The present invention is a manufacturing system including a hazard zone and a non-hazard zone. The system includes a storage device, located in the hazard zone, for electrically storing information. The system further includes a communication device, also located in the hazard zone, for storing information to and reading information from the storage device. In the non-hazard zone, a controller is in electrical communication with the communication device. The controller controls the system based on information read from the storage device by the communication device. To limit electrical energy passing to the communication device, an intrinsic safety barrier located in the non-hazard zone is connected between the communication device and the controller device.