Open abramjos opened 6 years ago
Can you show the full error of show(generator.__next __()[0][0][0])
? Your provided text is clipped somewhere.
One comment: you should run cell In [15]:
to produce the images from the videos first.
Sorry I tried a couple of times(the problem is not with generator function either) and find out that whenever I read images using opencv returns none(
Type: NoneType
String form: None
Docstring:
and thats why it cannot generate images. { I have my train/images directory with all the frames in it and I can watch the video feed too. kindof some other issues with conda/opencv(built in conda envs) and the gsettings(memory error is bursting out too)
and thank you so much for your kind words. may I know how you made the environment for the purpose.
Are you install OPENCV using pip install opencv
or something? I had this same error. I had to reinstall it using (https://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/).
Thank you . I used a conda enviournment to build the model . but the whole thing broke somehow (with xdg/gsettings reinstallation and other errors) will get back to you once i complete this process!
On Wed, Nov 22, 2017 at 6:52 PM, Huynh Ngoc Anh notifications@github.com wrote:
Are you install OPENCV using pip install opencv or something. I had this same error. I had to install it again using (https://www.pyimagesearch. com/2016/10/24/ubuntu-16-04-how-to-install-opencv/).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/experiencor/speed-prediction/issues/4#issuecomment-346348527, or mute the thread https://github.com/notifications/unsubscribe-auth/AOrAC5wXHm0GBW1qshHJGPLZ1EO2rX6Kks5s5CAagaJpZM4QnC3q .
Thank you I will get back to you once I complete this installation process I guess.
I used conda environment and build it(using make install) to get it working with ffmpeg.
Hi I tried to build this using virtual environment and I could cmake and cmake install it but, I cannot import/find file cv2.so.
I went through root files of python 2&3 and cannot find this cv2.so as per the instructor. Conda is disabled during this binary compiling.
Hi its working fine mahn! thanks :+1:
Great! Hope that you go farther than me. My code works very well on validation set (3.4) but not that well on test set (31.4).
Hi everyone my generator is not producing images and stops with the first epoch