DeepMosaics
DeepMosaics copied to clipboard
class 'AttributeError'
I run this in Ubuntu 18.04, Cuda 10.2. Got the following error. Do you know why?
frame=67186 fps=196 q=0.0 Lsize=N/A time=00:37:21.63 bitrate=N/A speed=6.54x
video:8844538kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
Premature end of JPEG file7/67180 [###################################] 99.97%
Find mosaic location:67159/67180 [###################################] 99.97%--------------------ERROR--------------------
Error Type: <class 'AttributeError'>
'NoneType' object has no attribute 'shape'
<FrameSummary file deepmosaic.py, line 66 in
According to the output prompt, this error may be caused by ffmpeg. In fact, I don't konw what was happend. In addition, you can check output images in ./tmp and make them to video. If you want to help me slove this question, you can send this video to my email.
I tried a couple of different video, All the same. Looks like it didn't finish the second pass. Only 60000+ frames were generated while the video has 210000 frames. There was a error message like this: [image2 @ 0x558316f98600] Could not open file : ./tmp/video2image/output_62977.jpg av_interleaved_write_frame(): Input/output error
Nevermind. run out of disk space.
Oh! It only support <99999 frames now. You have to cut it first . Thank you for your question. I will cut the video to several parts to solve the problem of space occupation and long time