rename the comfyui files and new readme (#53)
This commit is contained in:
@@ -31,7 +31,7 @@ EasyAnimate is a pipeline based on the transformer architecture that can be used
|
||||
We will support quick pull-ups from different platforms, refer to [Quick Start](#quick-start).
|
||||
|
||||
What's New:
|
||||
- Support ComfyUI, please refer to [ComfyUI README](easyanimate/comfyui/README.md) for details. [ 2024.07.12 ]
|
||||
- Support ComfyUI, please refer to [ComfyUI README](comfyui/README.md) for details. [ 2024.07.12 ]
|
||||
- Updated to v3, supports up to 720p 144 frames (960x960, 6s, 24fps) video generation, and supports text and image generated video models. [ 2024.07.01 ]
|
||||
- ModelScope-Sora "Data Directors" creative sprint has been annouced using EasyAnimate as the training backbone to investigate the influence of data preprocessing. Please visit the competition's [official website](https://tianchi.aliyun.com/competition/entrance/532219) for more information. [ 2024.06.17 ]
|
||||
- Updated to v2, supports a maximum of 144 frames (768x768, 6s, 24fps) for generation. [ 2024.05.26 ]
|
||||
@@ -62,7 +62,7 @@ Aliyun provide free GPU time in [Freetier](https://free.aliyun.com/?product=9602
|
||||
[](https://gallery.pai-ml.com/#/preview/deepLearning/cv/easyanimate)
|
||||
|
||||
#### b. From ComfyUI
|
||||
Our ComfyUI is as follows, please refer to [ComfyUI README](easyanimate/comfyui/README.md) for details.
|
||||
Our ComfyUI is as follows, please refer to [ComfyUI README](comfyui/README.md) for details.
|
||||

|
||||
|
||||
#### c. From docker
|
||||
|
||||
+2
-2
@@ -31,7 +31,7 @@ EasyAnimate是一个基于transformer结构的pipeline,可用于生成AI图片
|
||||
我们会逐渐支持从不同平台快速启动,请参阅 [快速启动](#快速启动)。
|
||||
|
||||
新特性:
|
||||
- 支持comfyui,详情查看[ComfyUI README](easyanimate/comfyui/README.md)。[ 2024.07.12 ]
|
||||
- 支持comfyui,详情查看[ComfyUI README](comfyui/README.md)。[ 2024.07.12 ]
|
||||
- 更新到v3版本,最大支持720p 144帧(960x960, 6s, 24fps)视频生成,支持文与图生视频模型。[ 2024.07.01 ]
|
||||
- ModelScope-Sora“数据导演”创意竞速——第三届Data-Juicer大模型数据挑战赛已经正式启动!其使用EasyAnimate作为基础模型,探究数据处理对于模型训练的作用。立即访问[竞赛官网](https://tianchi.aliyun.com/competition/entrance/532219),了解赛事详情。[ 2024.06.17 ]
|
||||
- 更新到v2版本,最大支持144帧(768x768, 6s, 24fps)生成。[ 2024.05.26 ]
|
||||
@@ -59,7 +59,7 @@ DSW 有免费 GPU 时间,用户可申请一次,申请后3个月内有效。
|
||||
[](https://gallery.pai-ml.com/#/preview/deepLearning/cv/easyanimate)
|
||||
|
||||
#### b. 通过ComfyUI
|
||||
我们的ComfyUI界面如下,具体查看[ComfyUI README](easyanimate/comfyui/README.md)。
|
||||
我们的ComfyUI界面如下,具体查看[ComfyUI README](comfyui/README.md)。
|
||||

|
||||
|
||||
#### c. 通过docker
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
from .easyanimate.comfyui.comfyui_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
from .comfyui.comfyui_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|
||||
|
||||
@@ -18,9 +18,17 @@ Easily use EasyAnimate inside ComfyUI!
|
||||
TBD
|
||||
|
||||
### Option 2: Install manually
|
||||
The EasyAnimate repository needs to be placed at `ComfyUI/custom_nodes/EasyAnimate/`.
|
||||
|
||||
```
|
||||
cd ComfyUI/custom_nodes/
|
||||
|
||||
# Git clone the easyanimate itself
|
||||
git clone https://github.com/aigc-apps/EasyAnimate.git
|
||||
|
||||
# Git clone the video outout node
|
||||
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite.git
|
||||
|
||||
cd EasyAnimate/
|
||||
python install.py
|
||||
```
|
||||
@@ -45,14 +53,14 @@ EasyAnimateV3:
|
||||
|
||||
## Example workflows
|
||||
|
||||
### Image to video
|
||||
Our ui is shown as follow:
|
||||
### Image to video generation
|
||||
Our ui is shown as follow, this is the [download link](https://pai-aigc-photog.oss-cn-hangzhou.aliyuncs.com/easyanimate/asset/v3/easyanimatev3_workflow_i2v.json) of the json:
|
||||

|
||||
|
||||
You can run the demo using following photo:
|
||||

|
||||
|
||||
|
||||
### Image to video generation (high FPS w/ frame interpolation)
|
||||
Our ui is shown as follow:
|
||||
### Text to video generation
|
||||
Our ui is shown as follow, this is the [download link](https://pai-aigc-photog.oss-cn-hangzhou.aliyuncs.com/easyanimate/asset/v3/easyanimatev3_workflow_t2v.json) of the json:
|
||||

|
||||
@@ -16,16 +16,16 @@ import comfy.model_management as mm
|
||||
import folder_paths
|
||||
from comfy.utils import ProgressBar, load_torch_file
|
||||
|
||||
from ..models.autoencoder_magvit import AutoencoderKLMagvit
|
||||
from ..models.transformer3d import Transformer3DModel
|
||||
from ..pipeline.pipeline_easyanimate_inpaint import EasyAnimateInpaintPipeline
|
||||
from ..utils.utils import get_image_to_video_latent
|
||||
from ..data.bucket_sampler import ASPECT_RATIO_512, get_closest_ratio
|
||||
from ..easyanimate.models.autoencoder_magvit import AutoencoderKLMagvit
|
||||
from ..easyanimate.models.transformer3d import Transformer3DModel
|
||||
from ..easyanimate.pipeline.pipeline_easyanimate_inpaint import EasyAnimateInpaintPipeline
|
||||
from ..easyanimate.utils.utils import get_image_to_video_latent
|
||||
from ..easyanimate.data.bucket_sampler import ASPECT_RATIO_512, get_closest_ratio
|
||||
|
||||
# Compatible with Alibaba EAS for quick launch
|
||||
eas_cache_dir = '/stable-diffusion-cache/models'
|
||||
# The directory of the easyanimate
|
||||
script_directory = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
script_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
def tensor2pil(image):
|
||||
return Image.fromarray(np.clip(255. * image.cpu().numpy(), 0, 255).astype(np.uint8))
|
||||
Reference in New Issue
Block a user