Nice work! How to run the Rerender on local?

#4
by supwang - opened

Hi,

Nice work! How to run the Rerender on local? Or can we install it to Stable Diffusion as extension?
Thank you.

just run on docker (copy the code from the top left corner icon and install the image).

https://huggingface.co/spaces/Anonymous-sub/Rerender/blob/main/app.py#L64
Just modify MAX_KEYFRAME to unblock the 8 frames locally.

I have downloaded the project using Git locally, created a venv, and installed the requirements. However, when I try to execute 'ddim' infinitely, I'm facing difficulties. Is there any solution to this issue?

run with docker from the top right three buttons
Screen Shot 2023-06-17 at 2.33.12 PM.png

just run on docker (copy the code from the top left corner icon and install the image).

That is not working least on windows

I figured I would just clone it and run it here

I have downloaded the project using Git locally, created a venv, and installed the requirements. However, when I try to execute 'ddim' infinitely, I'm facing difficulties. Is there any solution to this issue?

The demo will run the 3 examples before it launch the UI (which will take a lot of time, looking like running infinitely).
You can set cache_examples=Falseto directly launch the UI.
https://huggingface.co/spaces/Anonymous-sub/Rerender/blob/main/app.py#L885

Can you post the cmds you used to set it up locally? I cloned the same and I would like to run it local I set up my venv.

just run on docker (copy the code from the top left corner icon and install the image).

Thank you.

the code seems to be a partial demo, I keep getting this error:
Something went wrong 'Coming Soon. Full code for full video translation will be released upon the publication of the paper.'

This comment has been hidden

the code seems to be a partial demo, I keep getting this error:
Something went wrong 'Coming Soon. Full code for full video translation will be released upon the publication of the paper.'

This space provides the function of key frame translation. Full code for full video translation will be released upon the publication of the paper.
Run Propagation: propagate the key frames to other frames for full video translation. This part will be released upon the publication of the paper.

docker run -it -p 7860:7860 --platform=linux/amd64 ubuntu:22.04
i have successed create images and containers,but

[F:\Rerender>.gitregistry.hf.space/anonymous-sub-rerender:latest python app.py](F:\Rerender>registry.hf.space/anonymous-sub-rerender:latest python app.py
'registry.hf.space' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

F:\Rerender>)

Im getting this error when running the docker commands

docker: failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header.

Any help? Currently running on an EC2 instance

How do I use a Lora within this?

docker run -it -p 7860:7860 --platform=linux/amd64 ubuntu:22.04
i have successed create images and containers,but

[F:\Rerender>.gitregistry.hf.space/anonymous-sub-rerender:latest python app.py](F:\Rerender>registry.hf.space/anonymous-sub-rerender:latest python app.py
'registry.hf.space' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

F:\Rerender>)

只要git clone到本地,然后python app.py就行了,对于缺少的依赖,按照提示安装即可,不需要用到Docker。

supwang changed discussion status to closed

How do I use a Lora within this?

  1. To use your own SD/LoRA model, you may clone the space and specify your model with sd_model_cfg.py.
  2. This method is based on the original SD model. You may need to convert LoRA and base model to the Diffuser model and then convert Diffuser models to the original one.

Sign up or log in to comment