summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-27Adopt type hinting generics in standard collections (PEP 585)Jordan Gong
2020-12-26Implement batch splitter to split sampled dataJordan Gong
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).
2020-12-26Sample k more clips for disentanglementJordan Gong
2020-12-26Add config file and corresponding type hintJordan Gong
2020-12-26Combine transformed height and width to `frame_size`Jordan Gong
2020-12-26Bump up version for tqdmJordan Gong
2020-12-24Implement Horizontal Pyramid Matching (HPM)Jordan Gong
2020-12-24Optimize importsJordan Gong
2020-12-24Change the usage of layers and reorganize relations of layersJordan Gong
1. Add batch normalization and activation to layers 2. VGGConv2d and FocalConv2d inherits to BasicConv2d; DCGANConvTranspose2d inherits to BasicConvTranspose2d
2020-12-23Make activation inplaceJordan Gong
2020-12-23Modify activation functions after conv or trans-conv in auto-encoderJordan Gong
1. Make activation functions be inplace ops 2. Change Leaky ReLU to ReLU in decoder
2020-12-23Refactor and refine auto-encoderJordan Gong
1. Wrap Conv2d 3x3-padding-1 to VGGConv2d 2. Wrap ConvTranspose2d 4x4-stride-4-padding-1 to DCGANConvTranspose2d 3. Turn off bias in conv since the employment of batch normalization
2020-12-23Wrap Conv1d no bias layerJordan Gong
2020-12-23Reshape feature before decodeJordan Gong
2020-12-23Remove redundant Leaky ReLU in FocalConv2dJordan Gong
2020-12-23Split modules to different filesJordan Gong
2020-12-22Remove unused Matplotlib dependencyJordan Gong
2020-12-22Implement prototype layersJordan Gong
2020-12-22Enforce PEP 8 length limitJordan Gong
2020-12-21Change image loading techniqueJordan Gong
1. Use Pillow.Image.open instead of torchvision.io.read_image to read image 2. Transforming PIL images instead of tensors which performs better and device option is removed 3. Images are normalized now
2020-12-191. Delete unused transform functionJordan Gong
2. Reorganize the initialization cache dicts
2020-12-19Fix indexing error when no clip to be discardJordan Gong
2020-12-19Add cache switch, allowing load all data into RAM before samplingJordan Gong
2020-12-18Add torch and numpy to requirements.txtJordan Gong
2020-12-18Implement triplet samplerJordan Gong
2020-12-18Implement CASIA-B datasetJordan Gong
2020-12-16Ignore datasetJordan Gong
2020-12-16Init the repoJordan Gong