HAL-42 / FMA-WSSS

This repo is a implementation of the Foundation Model Assisted Weakly Supervised Semantic Segmentation. The code is developed based on the Pytorch framework.
Apache License 2.0
38 stars 4 forks source link

TypeError: BaseModule.__init__() got an unexpected keyword argument 'in_channels' #29

Closed chengfeng6s closed 1 month ago

chengfeng6s commented 1 month ago

你好,我在运行这个

bash tools/dist_train.sh configs/m2f_psudo/m2f-sl22-bt4-80k-512x-VOC.py 1 的时候,出现这个错误 图片3 这个是什么原因,怎么解决啊