magic-animate icon indicating copy to clipboard operation
magic-animate copied to clipboard

Some warning during inference

Open CHMimilanlan opened this issue 1 year ago • 1 comments

I have something confused during inference, since I am new in AIGC.

I truly believe i have change the "pretrained_model_path" in file animation.yaml to my model path. And i have changed clip_sample=false in the config.json file, but there is still have outputs in terminal like this: has not set the configuration clip_sample. clip_sample should be set to False in the configuration file. Please make sure to update the config accordingly as not setting clip_sample in the config might lead to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the scheduler/scheduler_config.json file image

Same append for steps_offset=1.

Additionally, I don't know what this warning is about, since my images have already resized to (512,512): IMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (1544, 516) to (1552, 528) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility). image

I don't know whether the warning above will influence the results of video generation, and how to get rid of these warning. Sorry to bother, I am wondering whether you could help me.

CHMimilanlan avatar Dec 05 '23 10:12 CHMimilanlan

由于我是 AIGC 的新手,因此在推理过程中我有些困惑。

我真的相信我已经将文件animation.yaml 中的“pretrained_model_path”更改为我的模型路径。我已经更改了 config.json 文件中的 Clip_sample=false ,但终端中仍然有这样的输出: has not set the configuration clip_sampleclip_sample应在配置文件中设置为 False。请确保相应地更新配置,因为不在clip_sample配置中进行设置可能会导致未来版本中出现错误的结果。scheduler/scheduler_config.json如果您已从 Hugging Face Hub 下载了此检查点,那么如果您可以打开该文件的 Pull 请求,那就太好了 图像

Steps_offset=1 的附加内容相同。

另外,我不知道这个警告是关于什么的,因为我的图像已经调整大小为 (512,512): IMAGEIO FFMPEG_WRITER WARNING: input image is not didivisible by Macro_block_size=16, resizing from (1544, 516) to (1552, 528) )以确保视频与大多数编解码器和播放器的兼容性。为了防止调整大小,请使输入图像可被 Macro_block_size 整除或将 Macro_block_size 设置为 1(存在不兼容的风险)。 图像

我不知道上面的警告是否会影响视频生成的结果,以及如何摆脱这些警告。抱歉打扰,我想知道你是否可以帮助我。

The same problems. When I use the default interfere image all Settings are default, including the huggingface files

HaSaKiYasuooo avatar Dec 07 '23 02:12 HaSaKiYasuooo