classify_webcam.py on Mac runs but no windows open
DennisFaucher opened this issue · 3 comments
DennisFaucher commented
train.py and classify.py run fine. classify_webcam.py doesn't do anything. Eventually, python3 shows as unresponsive in Activity Monitor. CTRL-C break sends this output:
Traceback (most recent call last):
File "classify_webcam.py", line 57, in
ret, img = cap.read()
TIA.
someshium commented
@DennisFaucher Did you got the solution for this problem. the classify_webcam.py doesn't works for me. it gets struck for infinity. i am using ubuntu
DennisFaucher commented
No. I built my own. See this repo: https://github.com/DennisFaucher/pytorchasl
saugaatallabadi commented
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()