AliaksandrSiarohin / first-order-model

This repository contains the source code for the paper First Order Motion Model for Image Animation
https://aliaksandrsiarohin.github.io/first-order-model-website/
MIT License
14.53k stars 3.22k forks source link

Doesn't work on mac and Linux #538

Open kalinasviatoslav opened 1 year ago

kalinasviatoslav commented 1 year ago

I tried to install This repository in the next ways :

from the docker image Directly from pip -r requirements.txt on my mac with python 3.10, python 3.8 installing ubuntu virtual machine python 3.7 and python 3.8 each time I have an import some error is raised with requirements installation troubleshooting doesn't help. Because each time I tried to use another version of the libraries I have a new issue. Maybe I stopped and wrote this issue on a depth of 10 levels of unsuccessful troubleshooting complexity.

In the beginning, had issues with torch 1.0.0 which supported only python 3.7 ( But in the description you said that 3.8 is supported) -> Solved by using python 3.7 or installing torch higher version than 1.0.0.

As I see the latest pull request contains an edition of the requirements file Could the latest pull request break the requirements file?

Has anybody tried installing it in 2023, especially on mac m1 or Linux?

Would be thankful for any feedback about the successful installation this year.

ioan-assenov commented 1 year ago

Tried installing requirements.txt on a 2019 Intel Macbook Pro running macOS 13.2.1 and it breaks when trying to build the scikit-image package.

kalinasviatoslav commented 1 year ago

Tried installing requirements.txt on a 2019 Intel Macbook Pro running macOS 13.2.1 and it breaks when trying to build the scikit-image package.

We started this on Google cloud virtual machine with CPU

The library is broken by the latest commit.

Everything works with python 3.6

Please check the version of libraries .make sure it is the latest for 3.6 python version of requirements (you could check it in pipy left corner )

Hope this helps

jahnaviraj commented 1 year ago

Facing exact same issues. Any solutions found so far? Please let me know.

kalinasviatoslav commented 1 year ago

@jahnaviraj We started this on Google cloud virtual machine with CPU

The library is broken by the latest commit.

Everything works with python 3.6

Please check the version of libraries .make sure it is the latest for 3.6 python version of requirements (you could check it in pipy left corner )

Hope this helps

scentof commented 1 year ago

@jahnaviraj We started this on Google cloud virtual machine with CPU

The library is broken by the latest commit.

Everything works with python 3.6

Please check the version of libraries .make sure it is the latest for 3.6 python version of requirements (you could check it in pipy left corner )

Hope this helps

But the numpy==1.22.0 is in requirements, which I have to update python>=3.8 to install this version. And when I got python 3.8, I could not install matplotlib==2.2.2 which need python<=3.7 That is driving me mad. plz help.