Rerender_A_Video icon indicating copy to clipboard operation
Rerender_A_Video copied to clipboard

Some errors occurred during the "postprocess" procedure. How can i fix it?

Open MarcYugo opened this issue 8 months ago • 2 comments

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 main(args) File "video_blend.py", line 267, in main process_seq(video_sequence, i, blend_histogram, blend_gradient) File "video_blend.py", line 198, in process_seq dist1s.append(load_error(bin_a, img_shape)) File "video_blend.py", line 159, in load_error with open(bin_path, 'rb') as fp: FileNotFoundError: [Errno 2] No such file or directory: 'result/man/out_1/0002.bin

MarcYugo avatar Jun 30 '24 09:06 MarcYugo