In order to increase the number of channels to 5, I have made some modifications to the code. Until this step, I knew that the conv1 of the pre training weight did not match the number of channels in the input image, but I didn't know how to correct it. Even if I set init_cfg=None, I will still report an error.
Describe the issue
In order to increase the number of channels to 5, I have made some modifications to the code. Until this step, I knew that the conv1 of the pre training weight did not match the number of channels in the input image, but I didn't know how to correct it. Even if I set init_cfg=None, I will still report an error.
Reproduction