-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi,
Thanks for the wonderful explanation of video GANS in youtube. I am trying to re implement your code and I am getting the below error wrt Opencv:
Frame dims: 0.0 0.0 New frame dims: 0 0 Traceback (most recent call last): File "GAN.py", line 540, in <module> gan.train_my_gan(epochs=2000, batch_size=32, save_interval=100, save_model_epoch=500) File "GAN.py", line 404, in train_my_gan self.create_numpy_dataset_from_video() File "GAN.py", line 130, in create_numpy_dataset_from_video img = cv2.resize(img, (new_width, new_height)) cv2.error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize'
FYi..
I am using Colab and presently Colab is showing Opencv version 4.1
Can you kindly help me with this opencv support?
Thanks in advance
Mritula