thtrieu / darkflow

Translate darknet to tensorflow. Load trained weights, retrain/fine-tune using tensorflow, export constant graph def to mobile devices
GNU General Public License v3.0
6.13k stars 2.08k forks source link

from darkflow.net.build import TFNet - This line is throwing error. #1035

Closed pavanyekabote closed 5 years ago

pavanyekabote commented 5 years ago

AttributeError Traceback (most recent call last)

in ----> 1 from darkflow.net.build import TFNet 2 import cv2 3 4 options = {"model": "cfg/yolo.cfg", "load": "bin/yolo.weights", "threshold": 0.1} 5 ~/darkflow/darkflow/net/build.py in 5 from .ops import op_create, identity 6 from .ops import HEADER, LINE ----> 7 from .framework import create_framework 8 from ..dark.darknet import Darknet 9 import json ~/darkflow/darkflow/net/framework.py in ----> 1 from . import yolo 2 from . import yolov2 3 from . import vanilla 4 from os.path import basename 5 ~/darkflow/darkflow/net/yolo/__init__.py in 1 from . import train ----> 2 from . import predict 3 from . import data 4 from . import misc 5 import numpy as np ~/darkflow/darkflow/net/yolo/predict.py in 5 import os 6 import json ----> 7 from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor 8 9 def _fix(obj, dims, scale, offs): ~/darkflow/darkflow/cython_utils/cy_yolo_findboxes.cpython-37m-x86_64-linux-gnu.so in init darkflow.cython_utils.cy_yolo_findboxes() AttributeError: type object 'darkflow.cython_utils.cy_yolo_findboxes.array' has no attribute '__reduce_cython__' ----------------------------------------------------------------------------------------------------------------------- Packages of following versions are used. 1. numpy - 1.16. 3 2. Cython - 0.29.7 3. tensorflow - 1.13.1
ProtossDragoon commented 5 years ago

solved?

biranchi2018 commented 5 years ago

solved?

Nope..

kyriosabbes commented 4 years ago

solved ?