Alleviated Pose Attentive Capsule Agreement (ALPACA)
Official implementation of Pose Attentive Feature Agreement (ALPACA) of Capsules. ALPACA is an alternative routing method for capsules that contain feature vector, pose and activation at the same time. ALPACA increase run time speed by almost 10 times compared to other methods and increase the performance on novel viewpoint dataset(NVPD). Implementations of Quaternion Capsule Networks, Matrix Capsules with EM routing also available. Small and large CNN versions are readily available for testing. NVPD is available in 7z format and explanation site will be available soon.
Also includes capsule network analysis on a NVPD. Includes render script from shapenet, dataloader train/test schemes, models such as Quaternion Capsule networks Matrix Capsules with EM routing, Capsule Routing via Variational Bayes, Star Caps, Capsules with Inverted Dot-Product Attention Routing. NVPD Benchmarks for DenseNet, ResNet50 and SqueezeNet along with two custom CNNs are also available.
In order to test custom models you can easily integrate your model with compatible input/output to the engine by adding your model to the model creator. There are several engines that can be used for different types of outputs.
Arhitecture
NVPD Dataset
Common shapenet objects renedered without texture from multiple viewpoints and distances.