Closed 408550969 closed 2 months ago
Should I subtract during the data preprocessing stage rather than during model inference, that is, in the UBFC-rPPG_UBFC-rPPG_PURE_EFFICIENTPHYS.yaml file, change DATA_TYPE: ['Standardized'] to DATA_TYPE: ['DiffNormalized'], and remove inputs = torch.diff(inputs, dim=0) under the forward function in EfficientPhys.py?
Hi,
Are you encountering this issue only with efficientphys or with other models as well (eg. deepphys or tscan)? The difference blocks in efficient phys are one of the improvements over prior work (eg. the efficientphys model is fully end-to-end). If you are considering applying the diff in preproecssing, I would suggest trying either deephys or tscan.
Hi,I want to convert pth to onnx, but an error occurred during the conversion: Exporting the operator 'aten:: diff' to ONNX opset version 12 is not supported. Here is my conversion code:
How to solve this problem?