I am executing capsnet code from here for image segmentation. Following is the code run on google colab:
\'\'\' Capsules for Object Segmentation (SegCaps) Ori