Closed BunnySF closed 4 years ago
Have you followed these steps properly?
# the following will install the lib with symbolic links, so that you can modify
# the files if you want and won't need to re-build it
cd awesome-semantic-segmentation-pytorch/core/nn
python setup.py build develop
Traceback (most recent call last): File "D:/CodeViewing/awesome-semantic-segmentation-pytorch-master/core/data/downloader/ade20k.py", line 12, in
from core.utils import download, makedirs
File "D:\CodeViewing\awesome-semantic-segmentation-pytorch-master\core__init.py", line 1, in
from . import nn, models, utils, data
File "D:\CodeViewing\awesome-semantic-segmentation-pytorch-master\core\nn\ init__.py", line 4, in
from .ca_block import *
File "D:\CodeViewing\awesome-semantic-segmentation-pytorch-master\core\nn\ca_block.py", line 6, in
from core.nn import _C
ImportError: cannot import name '_C'