summaryrefslogtreecommitdiff
path: root/models/layers.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2020-12-26 22:14:58 +0800
committerJordan Gong <jordan.gong@protonmail.com>2020-12-26 22:14:58 +0800
commit31b20fbff0786c998c54b8585de759d02f41eda7 (patch)
tree1838e752dffa1b132d6120252709208d2711fa55 /models/layers.py
parent6a767f503f24017bc4cd391e080414d8730d081b (diff)
Implement batch splitter to split sampled data
Disentanglement cannot be processed on different subjects at the same time, we need to load `pr` subjects one by one. The batch splitter will return a pr-length list of tuples (with 2 dicts containing k-length lists of labels, conditions, view and k-length tensor of clip data, representing condition 1 and condition 2 respectively).
Diffstat (limited to 'models/layers.py')
0 files changed, 0 insertions, 0 deletions