markjay4k / YOLO-series

A series of notebooks describing how to use YOLO (darkflow) in python
248 stars 172 forks source link

Using check.py (for Video processing) #11

Open BrentHawk opened 6 years ago

BrentHawk commented 6 years ago

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

markjay4k commented 6 years ago

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.

BrentHawk commented 6 years ago

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:notifications@github.com] Sent: Saturday, April 7, 2018 11:22 PM To: markjay4k/YOLO-series YOLO-series@noreply.github.com Cc: Brent Hawkinson brentha@microsoft.com; Author author@noreply.github.com 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 commented 6 years ago

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

markjay4k commented 6 years ago

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

BrentHawk commented 6 years ago

Cool! Will Check, thank you!

Brent

From: mark [mailto:notifications@github.com] Sent: Thursday, April 19, 2018 5:39 PM To: markjay4k/YOLO-series YOLO-series@noreply.github.com Cc: Brent Hawkinson brentha@microsoft.com; Author author@noreply.github.com 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.