-
Notifications
You must be signed in to change notification settings - Fork 201
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
FileNotFoundError: [Errno 2] No such file or directory #109
Comments
You issue is very similar to this one #32 |
result was written to /root/Rerender_A_Video/videos/pexels/out_101/0094.jpg |
Based on this, your ebsynth should work fine. Or manually run Ebsynth on the interval where images are missing #32 (comment) |
linux doesn have ebsynth |
linux have it i have runpod installer which works Turn Videos Into Animation / 3D Just 1 Click - ReRender A Video Tutorial - Installer For RunPod |
I install the source code in Linux,
Use the following commands according to Installation:
python rerender.py --cfg config/real2sculpture.json
Some keyframes have been generated. I have modified the path to make sure there are no - or spaces in the path, but I still get the following error:
Data shape for DDIM sampling is (1, 4, 40, 64), eta 0.0
Running DDIM Sampling with 20 timesteps
DDIM Sampler: 100%|████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.02it/s]
101
Global seed set to 0
Data shape for DDIM sampling is (1, 4, 40, 64), eta 0.0
Running DDIM Sampling with 20 timesteps
DDIM Sampler: 100%|████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.03it/s]
Global seed set to 0
Data shape for DDIM sampling is (1, 4, 40, 64), eta 0.0
Running DDIM Sampling with 20 timesteps
DDIM Sampler: 100%|████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.00it/s]
python video_blend.py videos/pexels --beg 1 --end 101 --itv 10 --key keys --output videos/pexels/blend.mp4 --fps 25.0 --n_proc 4 -ps
/root/miniconda3/lib/python3.8/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
/root/miniconda3/lib/python3.8/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
/root/miniconda3/lib/python3.8/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
/root/miniconda3/lib/python3.8/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_81/0082.jpg'): can't open/read file: check file path/integrity
Process Process-4:
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 315, in bootstrap
self.run()
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 108, in run
self.target(*self.args, **self.kwargs)
File "/root/Rerender_A_Video/video_blend.py", line 109, in process_sequences
process_one_sequence(i, video_sequence)
File "/root/Rerender_A_Video/video_blend.py", line 96, in process_one_sequence
cmd += ' ' + g.get_cmd(j, w)
File "/root/Rerender_A_Video/blender/guide.py", line 96, in get_cmd
warped_img = flow_calc.warp(prev_img, self.flows[i - 1],
File "/root/Rerender_A_Video/flow/flow_utils.py", line 230, in warp
if len(img.shape) == 2:
AttributeError: 'NoneType' object has no attribute 'shape'
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_61/0062.jpg'): can't open/read file: check file path/integrity
Process Process-3:
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 315, in bootstrap
self.run()
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 108, in run
self.target(*self.args, **self.kwargs)
File "/root/Rerender_A_Video/video_blend.py", line 109, in process_sequences
process_one_sequence(i, video_sequence)
File "/root/Rerender_A_Video/video_blend.py", line 96, in process_one_sequence
cmd += ' ' + g.get_cmd(j, w)
File "/root/Rerender_A_Video/blender/guide.py", line 96, in get_cmd
warped_img = flow_calc.warp(prev_img, self.flows[i - 1],
File "/root/Rerender_A_Video/flow/flow_utils.py", line 230, in warp
if len(img.shape) == 2:
AttributeError: 'NoneType' object has no attribute 'shape'
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0002.jpg'): can't open/read file: check file path/integrity
Process Process-1:
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 315, in bootstrap
self.run()
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 108, in run
self.target(*self.args, **self.kwargs)
File "/root/Rerender_A_Video/video_blend.py", line 109, in process_sequences
process_one_sequence(i, video_sequence)
File "/root/Rerender_A_Video/video_blend.py", line 96, in process_one_sequence
cmd += ' ' + g.get_cmd(j, w)
File "/root/Rerender_A_Video/blender/guide.py", line 96, in get_cmd
warped_img = flow_calc.warp(prev_img, self.flows[i - 1],
File "/root/Rerender_A_Video/flow/flow_utils.py", line 230, in warp
if len(img.shape) == 2:
AttributeError: 'NoneType' object has no attribute 'shape'
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_31/0032.jpg'): can't open/read file: check file path/integrity
Process Process-2:
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 315, in bootstrap
self.run()
File "/root/miniconda3/lib/python3.8/multiprocessing/process.py", line 108, in run
self.target(*self.args, **self.kwargs)
File "/root/Rerender_A_Video/video_blend.py", line 109, in process_sequences
process_one_sequence(i, video_sequence)
File "/root/Rerender_A_Video/video_blend.py", line 96, in process_one_sequence
cmd += ' ' + g.get_cmd(j, w)
File "/root/Rerender_A_Video/blender/guide.py", line 96, in get_cmd
warped_img = flow_calc.warp(prev_img, self.flows[i - 1],
File "/root/Rerender_A_Video/flow/flow_utils.py", line 230, in warp
if len(img.shape) == 2:
AttributeError: 'NoneType' object has no attribute 'shape'
ebsynth: 6.051947832107544
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0002.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0003.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0004.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0005.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0006.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0007.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0008.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0009.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_1/0010.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_11/0011.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_11/0002.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_11/0003.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_11/0004.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_11/0005.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_11/0006.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread('videos/pexels/out_11/0007.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('videos/pexels/out_11/0008.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('videos/pexels/out_11/0009.jpg'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('videos/pexels/out_11/0010.jpg'): can't open/read file: check file path/integrity
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: 'videos/pexels/out_1/0002.bin'
The text was updated successfully, but these errors were encountered: