-
My code is as follow.
LaMa is used to initialize a pre-trained model. When I run it, I get the following error message.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It should be implemented in 'Data Preprocessor'. |
Beta Was this translation helpful? Give feedback.
It should be implemented in 'Data Preprocessor'.
In the doc of mmpretain, shows:
The data preprocessor is also a component to process the data before feeding data to the neural network. Comparing with the data transforms, the data preprocessor is a module of the classifier, and it takes a batch of data to process, which means it can use GPU and batch to accelebrate the processing.
https://mmpretrain.readthedocs.io/en/latest/api/data_process.html#data-preprocessors