Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while starting the app.py #1

Open
alanbosco opened this issue Apr 10, 2018 · 2 comments
Open

Error while starting the app.py #1

alanbosco opened this issue Apr 10, 2018 · 2 comments

Comments

@alanbosco
Copy link

INFO:root:Loading net and associated files...
Traceback (most recent call last):
File "app.py", line 307, in
start_from_terminal(app)
File "app.py", line 294, in start_from_terminal
app.clf = ImagenetClassifier(**ImagenetClassifier.default_args)
File "app.py", line 192, in init
self.net = darknet.load_net(base_dir + "PLANE/yolo-voc.2.0.cfg", base_dir + "backup/yolo-voc_26000.weights", 0)
AttributeError: module 'darknet' has no attribute 'load_net'

@makefile
Copy link
Owner

The app.py is an example script for detection by using Caffe or Darknet YOLO models. You need modify and write your own code for underlying detection functions.

@alanbosco
Copy link
Author

Ya i figured it out, ty btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants