wuhuikai / FastFCN

FastFCN: Rethinking Dilated Convolution in the Backbone for Semantic Segmentation.
http://wuhuikai.me/FastFCNProject
Other
838 stars 148 forks source link

包调用的问题 #24

Closed Chao86 closed 5 years ago

Chao86 commented 5 years ago

运行train.py中import encoding.utils as utils会出现ModuleNotFoundError: No module named 'encoding'的错误提示,改为 import FastFCN-master.encoding.utils as utils时出现” File "D:\Deep learning\FastFCN\encoding__init.py", line 12, in from .version import version ModuleNotFoundError: No module named 'FastFCN.encoding.version'“的错误,请问init__.py中的version指的是什么,如何解决?

wuhuikai commented 5 years ago

Have you run python setup.py install?

Chao86 commented 5 years ago

Have you run python setup.py install?

Yes, but I am a tyro, somdthing wrong is difficult to handle for me .Sorry to bother you

wuhuikai commented 4 years ago

@Chao86 The code in branch latest is now ready, which uses official SyncBatchNorm and can run on all OS with PyTorch>=1.1.0.