Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import error #77

Open
Rayhanion opened this issue Aug 15, 2024 · 0 comments
Open

import error #77

Rayhanion opened this issue Aug 15, 2024 · 0 comments

Comments

@Rayhanion
Copy link

hi, I've encountered several problems attempting to install mimic motion, at first I used the environment file as is, but it was lacking a couple dependencies so I edited the environment file as shown in this issue topic, #39.
however I'm still encountering some issues. I'm pasting the log below

(mimicmotion) C:\Users\rayha\MimicMotion>python inference.py --inference_config configs/test.yaml
Traceback (most recent call last):
  File "C:\Users\rayha\MimicMotion\inference.py", line 11, in <module>
    from torchvision.datasets.folder import pil_loader
  File "C:\Users\rayha\anaconda3\envs\mimicmotion\lib\site-packages\torchvision\__init__.py", line 6, in <module>
    from torchvision import datasets, io, models, ops, transforms, utils
  File "C:\Users\rayha\anaconda3\envs\mimicmotion\lib\site-packages\torchvision\datasets\__init__.py", line 1, in <module>
    from ._optical_flow import FlyingChairs, FlyingThings3D, HD1K, KittiFlow, Sintel
  File "C:\Users\rayha\anaconda3\envs\mimicmotion\lib\site-packages\torchvision\datasets\_optical_flow.py", line 10, in <module>
    from PIL import Image
  File "C:\Users\rayha\anaconda3\envs\mimicmotion\lib\site-packages\PIL\Image.py", line 100, in <module>
    from . import _imaging as core
ImportError: DLL load failed while importing _imaging: The specified module could not be found.

please help me out because at this point I don't know what I'm missing. i have already uninstalled ffmpeg and reinstalled using conda uninstall ffmpeg and conda install -c conda-forge ffmpeg for reference this is how I've set up my environment.

**name: mimicmotion
channels:

  • pytorch
  • nvidia
    dependencies:
  • python=3.10
  • pytorch=2.2.0
  • torchvision=0.15.2
  • pytorch-cuda=11.8
  • pip
  • pip:
    • diffusers==0.27.0
    • transformers==4.32.1
    • decord==0.6.0
    • einops
    • omegaconf
    • tqdm
    • matplotlib
    • opencv_python
    • onnxruntime-gpu
    • accelerate
    • av**

please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant