Capsule-Network-Tutorial
Capsule-Network-Tutorial copied to clipboard
Change num_capusle to num_conv2D_per_capsule
Change the input variable num_capusle to num_conv2D_per_capsule in the class PrimaryCaps because 8 is not the number of capsules, it is the number of conv2D units in one primary capsule. From the paper--"each primary capsule contains 8 convolutional units with a 9×9 kernel and a stride of 2"