warnings.warn( Traceback (most recent call last): File…
- User
warnings.warn( Traceback (most recent call last): File "/content/MimicMotion/inference.py", line 134, in main(args) File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "/content/MimicMotion/inference.py", line 89, in main pipeline = create_pipeline(infer_config, device) File "/content/MimicMotion/mimicmotion/utils/loader.py", line 42, in create_pipeline mimicmotion_models = MimicMotionModel(infer_config.base_model_path).to(device=device).eval() File "/content/MimicMotion/mimicmotion/utils/loader.py", line 26, in init self.image_encoder = CLIPVisionModelWithProjection.from_pretrained( File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 2650, in from_pretrained raise EnvironmentError( OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory models/SVD/stable-video-diffusion-img2vid-xt-1-1.
- Assistant
The error traceback indicates that your code is trying to load a model using the Transformers library, but it cannot find the required model files in the specified directory (
models/SVD/stable-video-diffusion-img2vid-xt-1-1). The specific error message states that it can't find any of the expected model files likepytorch_model.bin,tf_model.h5,model.ckpt.index, or .