Rerender_A_Video
Rerender_A_Video copied to clipboard
Some errors occurred during the "postprocess" procedure. How can i fix it?
When using this command "python video_blend.py result/man --beg 1 --end 352 --itv 10 --key keys --output result/man/man.mp4 --fps 25.0 --n_proc 2 -ps" to combine images into a video, an error occurred.
The information provided for errors is as follows:
/usr/local/miniconda3/envs/rerender/lib/python3.8/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1659484810403/work/aten/src/ATen/native/TensorShape.cpp:2894.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
/usr/local/miniconda3/envs/rerender/lib/python3.8/site-packages/torch/functional.py:478: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1659484810403/work/aten/src/ATen/native/TensorShape.cpp:2894.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
Process Process-1:
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/rerender/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/local/miniconda3/envs/rerender/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/root/rerender/video_blend.py", line 109, in process_sequences
process_one_sequence(i, video_sequence)
File "/root/rerender/video_blend.py", line 96, in process_one_sequence
cmd += ' ' + g.get_cmd(j, w)
File "/root/rerender/blender/guide.py", line 97, in get_cmd
warped_img = flow_calc.warp(prev_img, self.flows[i - 1],
File "/root/rerender/flow/flow_utils.py", line 230, in warp
if len(img.shape) == 2:
AttributeError: 'NoneType' object has no attribute 'shape'
Process Process-2:
Traceback (most recent call last):
File "/usr/local/miniconda3/envs/rerender/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/local/miniconda3/envs/rerender/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/root/rerender/video_blend.py", line 109, in process_sequences
process_one_sequence(i, video_sequence)
File "/root/rerender/video_blend.py", line 96, in process_one_sequence
cmd += ' ' + g.get_cmd(j, w)
File "/root/rerender/blender/guide.py", line 97, in get_cmd
warped_img = flow_calc.warp(prev_img, self.flows[i - 1],
File "/root/rerender/flow/flow_utils.py", line 230, in warp
if len(img.shape) == 2:
AttributeError: 'NoneType' object has no attribute 'shape'
ebsynth: 7.8225085735321045
Traceback (most recent call last):
File "video_blend.py", line 318, in