[Bug]
fsbarros98 opened this issue · 0 comments
fsbarros98 commented
Prerequisite
- I have searched Issues and Discussions but cannot get the expected help.
- The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmengine).
Environment
While running mmagic experiments, if datapreprocessor is set to None, BaseDataPreprocessor will not have a destruct method needed to run the forward method for generative models
Reproduces the problem - code sample
Running train with no defined data preprocessor
Reproduces the problem - command or script
python train.py config_file.py
Reproduces the problem - error message
AttributeError: 'BaseDataPreprocessor' object has no attribute 'destruct'
Additional information
No response