[Enhance] Enhance img data preprocessor (#290)
* fix BaseDataPreprocessor * fix BaseDataPreprocessor * change device type to torch.device * change device type to torch.device * fix cpu method of base model * Allow ImgDataPreprocessor do not normalize * remove unnecessary type ignore * make mean and std optional * refine docstring
Loading
Please register or sign in to comment