-
Notifications
You must be signed in to change notification settings - Fork 21
transform
desperadoccy edited this page May 28, 2024
·
2 revisions
transform模块和其他模块不同,调用该模块时需要在path中具体到类的方法,如"path": "transforms.Transforms.TransformForCIFARFactory.createTransform"。
TransformForCIFARFactory.createTransform: 对数据进行Padding、RandomHorizontalFlip、RandomCrop、Normalize操作。
TransformForCIFARFactory.createTransformWithTensor: 先将数据转为Tensor,再进行上者操作。
ToTensorFactory.createToTensor: 将数据转为Tensor。
Getting Started - 整体流程 - Module Guide - 现有算法 - Contact Us