NSAPH-Projects / topological-equivariant-networks

E(n)-Equivariant Topological Neural Networks
MIT License
19 stars 0 forks source link

Improve dimension filtering #32

Closed ekarais closed 5 months ago

ekarais commented 6 months ago

Goal

The main contribution of this PR is to solve the problem detailed below.

In #31, we added the --post_pool_filter script argument. Later, we realized that its implementation is not optimal because the instantiated TEN model will contain lots of trainable parameters that will never be updated (because the ranks they are associated with are filtered out before the prediction).

This PR solves that problem by renaming --post_pool_filter to --visible_dims, and makes changes to the TEN model architecture to instantiate its submodules depending on this argument. 3b94a7231bdfa780fa61287d3cfb380bd8da6814, 0c6017d79c093cdb02718372d0592a909573c329, 8caa16aac30c0b752fed8b9d921d6141d84a0e6a, f896b097f60533b5f9dc202ab2ace4ea25f45aad

This PR also contains the following small improvements: