Patent ID: 11948088
Assignee: NOKIA TECHNOLOGIES OY
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 1:
2. The method according to claim 1, wherein the vision task is image classification and performing the vision task on the image by using the multi-scales capsules network comprises:
for each of the at least two branches,
obtaining first feature maps of the image by using a number of convolution kernels, wherein the number of convolution kernels for different branches is different;
decreasing, by using a convolution operation, a scale of the first feature maps to obtain second feature maps;
reshaping the second feature maps to multiple capsule channels;
reshaping the multiple capsule channels to multiple capsules, wherein a dimension of the multiple capsules for different branches is different;
performing affine transformation on the multiple capsules to obtain first vote capsules such that a dimension of the first vote capsules for different branches is same;

concatenating the first vote capsules of the at least two branches together to obtain second vote capsules;
for each of a predefined number of image classes,
performing dynamic routing on the second vote capsules to obtain respective weights of the second vote capsules;
obtaining a weighted sum of the second vote capsules; and

determining a category corresponding to a top length of the obtained weighted sum as a category of the image.