Traceback (most recent call last):


 "train.py", line 1, in <module>

from main import main


 "C:\Users\admin\Desktop\edge-connect-master\main.py", line 9, in <module>

from src.edge_connect import EdgeConnect


 "C:\Users\admin\Desktop\edge-connect-master\src\edge_connect.py", line 5, in <module>

from .dataset import Dataset


 "C:\Users\admin\Desktop\edge-connect-master\src\dataset.py", line 10, in <module>

from scipy.misc import imread
ImportError: cannot import name 'imread' from 'scipy.misc' (C:\Users\admin\AppData\Local\Programs\Python\Python37\lib\site-packages\scipy\misc\__init__.py)

Traceback (most recent call last):


 "demo/demo.py", line 11, in <module>

from detectron2.data.detection_utils import read_image


 "/home/marco/detectron2/detectron2/data/__init__.py", line 4, in <module>

from .build import (


 "/home/marco/detectron2/detectron2/data/build.py", line 13, in <module>

from detectron2.structures import BoxMode


 "/home/marco/detectron2/detectron2/structures/__init__.py", line 2, in <module>

from .boxes import Boxes, BoxMode, pairwise_iou


 "/home/marco/detectron2/detectron2/structures/boxes.py", line 7, in <module>

from detectron2.layers import cat


 "/home/marco/detectron2/detectron2/layers/__init__.py", line 3, in <module>

from .deform_conv import DeformConv, ModulatedDeformConv


 "/home/marco/detectron2/detectron2/layers/deform_conv.py", line 10, in <module>

from detectron2 import _C

ImportError: cannot import name '_C' from 'detectron2' (/home/marco/detectron2/detectron2 
