summaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
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-18Implement triplet samplerJordan Gong
2020-12-18Implement CASIA-B datasetJordan Gong