Patrefans
Furkan Gözükara from patreon
Furkan Gözükara patreon

1 Click Auto Windows Installer For Rerender A Video - 1 Click Video To Anime

🕑 Added 2023-09-18 15:44:53 +0000 UTC

Comments

Furkan Gözükara

Hocam şu videoyu bire bir izle, sonra v3 yükle, high vram olanı seç, az önce yaptım çalışıyor : https://youtu.be/DrhUHnYfwC0

Ibrahim Pehlivan

activate venv and execute this pip install opencv-python hatası alıyorum hocam bende yardımcı olabilir misiniz

glcheer

Already solved, thank you

Furkan Gözükara

replied back lets continue there

glcheer

I have reinstalled and sent you the entire cmd log, when I run low _vram, I can see the ebsynth exe being moved automatically in the folder.

Furkan Gözükara

Your python is good. Can you reinstall and send me entire cmd log? Are you seeing ebsynth exe in folder and being moved auto?

glcheer

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32 It seems that something went wrong during my second installation. I'll reinstall it.

Furkan Gözükara

ok i just did a fresh install and 0 errors. working. so that means you had error while installing. first tell me your python version? second reinstall and email me your entire install logs : monstermmorpg@gmail.com

Furkan Gözükara

i am gonna reinstall and test right now

glcheer

i install low_vram,but when i run,it always get this error: A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' logging improved. Traceback (most recent call last): File "D:\Rerender_Videos\Rerender_A_Video\webUI.py", line 24, in from flow.flow_utils import get_warped_and_mask File "D:\Rerender_Videos\Rerender_A_Video\flow\flow_utils.py", line 258, in flow_calc = FlowCalc() File "D:\Rerender_Videos\Rerender_A_Video\flow\flow_utils.py", line 156, in __init__ checkpoint = torch.load(model_path, File "D:\Rerender_Videos\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 771, in load with _open_file_like(f, 'rb') as opened_file: File "D:\Rerender_Videos\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 270, in _open_file_like return _open_file(name_or_buffer, mode) File "D:\Rerender_Videos\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 251, in __init__ super(_open_file, self).__init__(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './models/gmflow_sintel-0c07dcb3.pth'

Furkan Gözükara

hello. your video file name was inaccurate. make it like input_video.extension and it will work

Furkan Gözükara

hello. your video file name was inaccurate. make it like input_video.extension and it will work

Haifeng Liao

I would like to know the minimum computer configuration

Haifeng Liao

Traceback (most recent call last): File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1437, in process_api result = await self.call_function( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\utils.py", line 641, in wrapper response = f(*args, **kwargs) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\webUI.py", line 264, in process1 cfg = create_cfg(global_video_path, *args) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\webUI.py", line 168, in create_cfg input_name = os.path.split(input_path)[-1].split('.')[0] File "C:\Python31011\lib\ntpath.py", line 211, in split p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not NoneType

Furkan Gözükara

ye it is accurate. make a newer fresh install and let me know. also you installed ffmpeg right? you get same message when typed ffmpeg?

Haifeng Liao

C:\Users\Administrator>python - version Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

Furkan Gözükara

hello. I just did a fresh install and no issues. worked great. so here info i need what is your python version? please reinstall and send me your entire install cmd output as email : monstermmorpg@gmail.com

Furkan Gözükara

hello. this happens when file downloads fails. i am testing a fresh install now

Haifeng Liao

Traceback (most recent call last): File "C:\rerender_v2\all_files_V2\Rerender_A_Video\webUI.py", line 24, in from flow.flow_utils import get_warped_and_mask File "C:\rerender_v2\all_files_V2\Rerender_A_Video\flow\flow_utils.py", line 258, in flow_calc = FlowCalc() File "C:\rerender_v2\all_files_V2\Rerender_A_Video\flow\flow_utils.py", line 156, in __init__ checkpoint = torch.load(model_path, File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 791, in load with _open_file_like(f, 'rb') as opened_file: File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 271, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 252, in __init__ super().__init__(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './models/gmflow_sintel-0c07dcb3.pth'

Furkan Gözükara

thank you so much great list to follow

furoba

Hi, after hours of various tries, I finally found a successful workaround to make ReRender work! I'm sharing all the different steps so hopefully you can find how to fix the automatic installer: Install Python 3.10.11 (this version specifically, for some reasons the more recent ones do not work). During the install check Add to PATH https://www.python.org/downloads/release/python-31011/ Install Microsoft C++ Build Tools https://visualstudio.microsoft.com/visual-cpp-build-tools/ Install RUST https://www.rust-lang.org/tools/install Then install ReRender by using the all_files.zip and following the instructions you provided.

Furkan Gözükara

can you try this? : pip install einops i am going to test installer right now to see if i will get any errors

furoba

Hi, I have the same problem of "no module named cv2". I did as you said but now I have another error message instead: Traceback (most recent call last): File "C:\RERENDER\Rerender_A_Video\webUI.py", line 6, in import einops ModuleNotFoundError: No module named 'einops' Press any key to continue . . .

Furkan Gözükara

activate venv and execute this pip install opencv-python tell me if you are getting any error or not.

Hunter Nguyen

Hi. This is the error show when I click on the run file: Traceback (most recent call last): File "C:\Users\hunte\Downloads\all_files\Rerender_A_Video\webUI.py", line 5, in import cv2 ModuleNotFoundError: No module named 'cv2' Press any key to continue . . .

Furkan Gözükara

hello please uıninstall your all python and install as shown in this video into your C drive : https://youtu.be/B5U7LJOvH6g - also install Rerender_A_Video into your C or main drive not documents. also do not have any space in your folders or in your video file. let me know after this please

Thomas Wiwchar

Hi I'm having an issue, it generates keyframes fine but when it gets to run propogation, I get the "unrecognised arguments" and "no such directory" errors usage: video_blend.py [-h] [--output OUTPUT] [--fps FPS] [--beg BEG] [--end END] [--itv ITV] [--key KEY] [--n_proc N_PROC] [-ps] [-ne] [-tmp] name video_blend.py: error: unrecognized arguments: of lint 220533882 FB of lint 220533882 FB\blend.mp4 Traceback (most recent call last): File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1440, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1341, in postprocess_data prediction_value = block.postprocess(prediction_value) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 281, in postprocess processed_files = (self._format_video(y), None) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 355, in _format_video video = self.make_temp_copy_if_needed(video) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 226, in make_temp_copy_if_needed temp_dir = self.hash_file(file_path) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 190, in hash_file with open(file_path, "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: 'result\\calling of lint 220533882 FB\\blend.mp4'

Thomas Wiwchar

i have this issue as well- how did you fix it?

Furkan Gözükara

thank you

Salvador Robles

Well, I look forward to it with great interest, I find all this related to video rotoscoping by AI very interesting.

Furkan Gözükara

you are right. this is on my research topic and will hopefully make a tutorial

Salvador Robles

I finally got a video but it was a bit disappointing, hopefully you can make a tutorial to make good videos with this or other technology (warpfusion or similar). I visited a page called lensgo.ai with a very interesting videotovideo option, the technology behind, it would be interesting to see what it is... Thanks

Furkan Gözükara

you have path error. FileNotFoundError: [Errno 2] No such file or directory: 'result\\video 1080p\\blend.mp4' and this : video_blend.py: error: unrecognized arguments: 1080p 1080p\blend.mp4 i don't know but you are doing something different. try 512x512 base model and make your video file name as a.mp4

Salvador Robles

python video_blend.py result\video 1080p --beg 1 --end 301 --itv 10 --key keys --output result\video 1080p\blend.mp4 --fps 25.0 --n_proc 1 -ps usage: video_blend.py [-h] [--output OUTPUT] [--fps FPS] [--beg BEG] [--end END] [--itv ITV] [--key KEY] [--n_proc N_PROC] [-ps] [-ne] [-tmp] name video_blend.py: error: unrecognized arguments: 1080p 1080p\blend.mp4 Traceback (most recent call last): File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1440, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1341, in postprocess_data prediction_value = block.postprocess(prediction_value) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 281, in postprocess processed_files = (self._format_video(y), None) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 355, in _format_video video = self.make_temp_copy_if_needed(video) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 226, in make_temp_copy_if_needed temp_dir = self.hash_file(file_path) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 190, in hash_file with open(file_path, "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: 'result\\video 1080p\\blend.mp4'

Furkan Gözükara

great. such errors are so hard to debug from just replies.

伟超 陈

The issue has been resolved! The problem was caused by the corruption of model data when copying the data, and it worked fine with a new local model data. Thank you for your help!

Furkan Gözükara

what resolution are you trying? what is your video resolution? try a small video with 512x512 resolution. are you able to get first preview image? please give more info. maybe a video

伟超 陈

python still gives errors after installing on C drive:Traceback (most recent call last): File "C:\Python310\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\Python310\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\Python310\lib\site-packages\gradio\blocks.py", line 1437, in process_api result = await self.call_function( File "C:\Python310\lib\site-packages\gradio\blocks.py", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "C:\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run result = context.run(func, *args) File "C:\Python310\lib\site-packages\gradio\utils.py", line 641, in wrapper response = f(*args, **kwargs) File "C:\Python310\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "J:\Rerender_A_Video\Rerender_A_Video\webUI.py", line 266, in process1 global_state.update_sd_model(cfg.sd_model, cfg.control_type, File "J:\Rerender_A_Video\Rerender_A_Video\webUI.py", line 101, in update_sd_model model.load_state_dict(load_file(sd_model_path), strict=False) File "C:\Python310\lib\site-packages\safetensors\torch.py", line 100, in load_file result[k] = f.get_tensor(k) RuntimeError: self.size(-1) must be divisible by 4 to view Byte as Float (different element sizes), but got 30226646

Furkan Gözükara

it should work good. it is 24 gb

伟超 陈

NVIDIA Tesla P40

Furkan Gözükara

i think install python 3.10.11 into C drive directly as shown in video and reinstall and try again. also what was your GPU?

伟超 陈

There's also this error:C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\safetensors\torch.py:98: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() with safe_open(filename, framework="pt", device=device) as f: Traceback (most recent call last): File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1437, in process_api result = await self.call_function( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run result = context.run(func, *args) File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\utils.py", line 641, in wrapper response = f(*args, **kwargs) File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "J:\Rerender_A_Video\Rerender_A_Video\webUI.py", line 266, in process1 global_state.update_sd_model(cfg.sd_model, cfg.control_type, File "J:\Rerender_A_Video\Rerender_A_Video\webUI.py", line 101, in update_sd_model model.load_state_dict(load_file(sd_model_path), strict=False) File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\safetensors\torch.py", line 100, in load_file result[k] = f.get_tensor(k) RuntimeError: self.size(-1) must be divisible by 4 to view Byte as Float (different element sizes), but got 30226646

Furkan Gözükara

uninstall your python and install into C drive as shown here : https://youtu.be/B5U7LJOvH6g

伟超 陈

Error:Traceback (most recent call last): File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1437, in process_api result = await self.call_function( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run result = context.run(func, *args) File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\utils.py", line 641, in wrapper response = f(*args, **kwargs) File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "J:\Rerender_A_Video\Rerender_A_Video\webUI.py", line 278, in process1 model = ddim_v_sampler.model AttributeError: 'NoneType' object has no attribute 'model'

Furkan Gözükara

i think you should try both and compare. 12 gb is like middle

Furkan Gözükara

full tutorials are not ready yet sadly

Salvador Robles

By te way I have seen some videos on your youtube channel (short ones), are there full tutorials for patreon supporters anywhere?, thanks

Salvador Robles

Hello, when you say during installation large vram you refer more than?, I have a RTX4070 12GB VRAM in PC and RTX3070 8GB VRAM mobile in my labtop, this is large or low in each case?. Thanks a lot. I am very interested in this, It would be great a kaggle version if possible... thanks a lot

Furkan Gözükara

exactly. you can use it directly on linux

Nguyen Tran

Assumming that I can build ebsynth in linux, will the rest of the code can be adapted to run in Linux?

Furkan Gözükara

you are welcome. thanks for supporting me

OctonionPrime

Thank you!

Furkan Gözükara

yep hopefully i will make notebook for runpod and kaggle too. will share on Patreon

OctonionPrime

will try. Are you planning to implement it on cloud?

Furkan Gözükara

Hello. I think you probably would need to reduce resolution. But should work with lower resolution

OctonionPrime

hey thank you for this script. Will 8 gb be enough?

Furkan Gözükara

thank you so much. i am working on more

jaehyun AI

The updated code works perfectly. Thank you. Looking forward to further detailed tutorials.

Furkan Gözükara

12 gb is good. what is this M disk? can you test on C disk? if you message me from patreon i can connect your pc and check out. can you show me your install folder screenshot?

Nobodys Hero

Yup waited long time said install successful and cmd window closes. my gpu is 3060 12gb Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32

Furkan Gözükara

hello. what is your GPU and your installed Python? can you open CMD and type Python and tell me what you see? also did you wait entire install finish? it takes huge time

Nobodys Hero

when I click run bat i get the following :( logging improved. Traceback (most recent call last): File "M:\render_v2\Rerender_A_Video\webUI.py", line 24, in from flow.flow_utils import get_warped_and_mask File "M:\render_v2\Rerender_A_Video\flow\flow_utils.py", line 209, in flow_calc = FlowCalc() File "M:\render_v2\Rerender_A_Video\flow\flow_utils.py", line 155, in __init__ checkpoint = torch.load(model_path, File "M:\render_v2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 797, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "M:\render_v2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 283, in __init__ super().__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Furkan Gözükara

I just tested for you. sadly it doesn't work due to tensor mismatch

Nobodys Hero

Will this work with sdxl models Doc?

Furkan Gözükara

you are welcome

Rafał Ryniak

Ok tanks

Furkan Gözükara

I will hopefully will make a runpod version too stay tuned

Rafał Ryniak

Czy będzie wersja na ronpod czy trzeba poszukać i samemu to zrobić?


More Creators