# OC-Net Feature Connectivity Computation

In this supplementary material, we give a sample code demonstration that we implemented to compute feature connectivity in parallel for batches of images. Please refer to Algorithm 1 lines 7-24.

Requirements:
Torch version 1.9.0
Numpy version 1.19.5

To run the demo, enter the following command in a shell:
```bash
$ python3 feature_connectivity_batched_demo.py
```