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

yolo stream #40

Open
urbansound8K opened this issue Oct 18, 2021 · 3 comments
Open

yolo stream #40

urbansound8K opened this issue Oct 18, 2021 · 3 comments

Comments

@urbansound8K
Copy link

urbansound8K commented Oct 18, 2021

[2021-10-18 16:14:38,775] ERROR in app: Exception on /video_feed/yolo/0 [GET]
Traceback (most recent call last):
File "C:\Users\admin\Anaconda3\envs\new\lib\site-packages\flask\app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\admin\Anaconda3\envs\new\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\admin\Anaconda3\envs\new\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\admin\Anaconda3\envs\new\lib\site-packages\flask\app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "app.py", line 57, in video_feed
camera_stream = import_module('camera_yolo').Camera
File "C:\Users\admin\Anaconda3\envs\new\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\admin\Desktop\boats\new\Multi-Camera-Live-Object-Tracking\object_counting\camera_yolo.py", line 9, in
from yolo import YOLO
File "C:\Users\admin\Desktop\boats\new\Multi-Camera-Live-Object-Tracking\object_counting\yolo.py", line 12, in
from yolo4.model import yolo_eval, Mish
File "C:\Users\admin\Desktop\boats\new\Multi-Camera-Live-Object-Tracking\object_counting\yolo4\model.py", line 11, in
from keras.layers.normalization import BatchNormalization
ImportError: cannot import name 'BatchNormalization'

image

what is the prob, please?

@farshokat
Copy link

yes, the same my problem. Do you fix this?

@urbansound8K
Copy link
Author

Male sure the weight is there

@SenthilL13
Copy link

same my problem

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

3 participants