markshih91 / refinenet_pytorch

Pytorch implementation of refinenet network
43 stars 10 forks source link

Code checking #1

Open ygean opened 5 years ago

ygean commented 5 years ago

from net.refinenet.blocks import un_pool, ResidualConvUnit, RefineNetBlock, RefineNetBlockImprovedPooling ImportError: cannot import name 'RefineNetBlockImprovedPooling'

Happy new year and thank for sharing. I met this fatal issue when I ran train.py, error infos shows above. Look forward for your reply

DrugD commented 5 years ago

RefineNetBlockImprovedPooling can not be found... I meet this problem too. this class may be in net/refinenet/blocks.py? I hope for your answer.

ygean commented 5 years ago

@markshih91

markshih91 commented 5 years ago

@zhouyuangan @LiKunWHU just remove it from the import line. I removed it. instead use the 'RefineNetBlock'

karlcao commented 4 years ago

the prediction is weired, why is outputs only have 3 class. the num_class=40,but the output is always only 3 class