YOLO-series icon indicating copy to clipboard operation
YOLO-series copied to clipboard

Using check.py (for Video processing)

Open BrentHawk opened this issue 6 years ago • 5 comments

I keep getting the error that darkflow has not been installed as a module which I get but I can't seem to get it to install. The From Darkflow... this happens on all the .py executables.

#importing dependencies import cv2 import time import sys, os import datetime import numpy as np import imutils from imutils.video import FPS from darkflow.net.build import TFNet from imutils.video import WebcamVideoStream

BrentHawk avatar Apr 08 '18 04:04 BrentHawk

were you able to create the build folder as part of the instal process? it seems like this wasnt done. make sure you have cython installed before building. If you're on windows, you will need visual c++ build tools as well.

markjay4k avatar Apr 08 '18 04:04 markjay4k

Thanks for the reply!

Your probably correct, I followed your instructions inside the Python notebooks and I didn’t see that dependency listed. Did I miss it??

I will look for how to install cython, I am a little new to this so I am not familiar with it but I am sure I can find out how to get it if it’s a git install or an apt-get..

Brent

From: mark [mailto:[email protected]] Sent: Saturday, April 7, 2018 11:22 PM To: markjay4k/YOLO-series [email protected] Cc: Brent Hawkinson [email protected]; Author [email protected] Subject: Re: [markjay4k/YOLO-series] Using check.py (for Video processing) (#11)

were you able to create the build folder as part of the instal process? it seems like this wasnt done. make sure you have cython installed before building. If you're on windows, you will need visual c++ build tools as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmarkjay4k%2FYOLO-series%2Fissues%2F11%23issuecomment-379519136&data=02%7C01%7Cbrentha%40microsoft.com%7C3ce2ce7ba967462ffe9608d59d085a5a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636587581559039173&sdata=hXA0HCXszmkaSqSdQriWNJ%2BPG1KMUtrHzHB1QNqwJLA%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAi0wDr1cf6tPK-Ztyub7duEAYEIjIDysks5tmZB9gaJpZM4TLYPz&data=02%7C01%7Cbrentha%40microsoft.com%7C3ce2ce7ba967462ffe9608d59d085a5a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636587581559039173&sdata=WLUg0VU5YgcEolcBXQARXt2gC%2BykAoTjwa5lgjadIdI%3D&reserved=0.

BrentHawk avatar Apr 08 '18 14:04 BrentHawk

Cython is installed, but I am not clear on the "build folder" your are referring to. Could you elaborate?

BrentHawk avatar Apr 08 '18 23:04 BrentHawk

once you run the command to build yolo

python setup.py build_ext --inplace

you will see a new folder pop up. the build command passes with no errors, then you are good

markjay4k avatar Apr 19 '18 22:04 markjay4k

Cool! Will Check, thank you!

Brent

From: mark [mailto:[email protected]] Sent: Thursday, April 19, 2018 5:39 PM To: markjay4k/YOLO-series [email protected] Cc: Brent Hawkinson [email protected]; Author [email protected] Subject: Re: [markjay4k/YOLO-series] Using check.py (for Video processing) (#11)

once you run the command to build yolo

python setup.py build_ext --inplace

you will see a new folder pop up. the build command passes with no errors, then you are good

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmarkjay4k%2FYOLO-series%2Fissues%2F11%23issuecomment-382902182&data=02%7C01%7Cbrentha%40microsoft.com%7C1f83e4b096f941fa23f708d5a6465e07%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636597743514374982&sdata=x%2BrFdAjS0RmZPMXztIFoMeR%2FuxHXc0xmG15%2FY9AoUQI%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAi0wDopjhTaSO62X55W6WmyUxD6kIB9xks5tqRIMgaJpZM4TLYPz&data=02%7C01%7Cbrentha%40microsoft.com%7C1f83e4b096f941fa23f708d5a6465e07%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636597743514384982&sdata=K%2BJZPg5Gt%2FDXYj8WwmHUTIqj3CQzHVMz8Xf6fMK66t8%3D&reserved=0.

BrentHawk avatar Apr 20 '18 22:04 BrentHawk