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 creating video - File "test_video.py", line 287, in <module> #6

Open
johndpope opened this issue Jan 30, 2021 · 0 comments
Open

Comments

@johndpope
Copy link

I believe I've setup project correctly.
N.B. - it's possible to create directories and then add .gitignore files in them - that way you can move things around - please consider - otherwise have to do a bit of house keeping (file shuffling around) to get app to boot up.

Screen Shot 2021-01-30 at 9 42 26 pm

Once I've export mp4 into jpeg files -
I have 1 style file - is it enough?

It does one pass - and I see a picture styled - but then things fail.

out/out91/stylized_0001.jpg
torch.Size([1, 3, 1280, 720])
2
out/out91/stylized_0002.jpg
Traceback (most recent call last):
File "test_video.py", line 287, in
content_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
cv2.error: OpenCV(4.5.1) /tmp/pip-req-build-ms668fyv/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

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

1 participant