Giter Site home page Giter Site logo

environment.yml error about ml-gmpi HOT 13 CLOSED

apple avatar apple commented on August 20, 2024
environment.yml error

from ml-gmpi.

Comments (13)

Xiaoming-Zhao avatar Xiaoming-Zhao commented on August 20, 2024

I just tried and it worked on my end. Maybe try to update conda based on this link.

from ml-gmpi.

neilwang0913 avatar neilwang0913 commented on August 20, 2024

I have updated to conda: conda 4.13.0. But the issue is still there. Is there any workaround way? Is there any reason must be 10.2 version?

from ml-gmpi.

Xiaoming-Zhao avatar Xiaoming-Zhao commented on August 20, 2024

No need. You can choose other combination of PyTorch and CUDA.

from ml-gmpi.

neilwang0913 avatar neilwang0913 commented on August 20, 2024

Any suggestion? I would like to try. Thanks

from ml-gmpi.

AlexColburnAtApple avatar AlexColburnAtApple commented on August 20, 2024

You can always create an environment and conda install individual components e.g.:
conda install cudatoolkit=10.2

from ml-gmpi.

neilwang0913 avatar neilwang0913 commented on August 20, 2024

solution: https://anaconda.org/anaconda/cudatoolkit. Thanks.

from ml-gmpi.

neilwang0913 avatar neilwang0913 commented on August 20, 2024

I think the env is for linux not for mac; pyspng is not working as well

from ml-gmpi.

AlexColburnAtApple avatar AlexColburnAtApple commented on August 20, 2024

Yes, it is a linux environment.
We ought to note that in the README.

from ml-gmpi.

Xiaoming-Zhao avatar Xiaoming-Zhao commented on August 20, 2024

Does PIL work?

# X = PIL.Image.open(f)

from ml-gmpi.

neilwang0913 avatar neilwang0913 commented on August 20, 2024

Do you mean pillow: conda install -c anaconda pillow ? So I should uncomment that and comment the below line. Is there any other part I should make change in the main code?

from ml-gmpi.

Xiaoming-Zhao avatar Xiaoming-Zhao commented on August 20, 2024

Yes, you can pip install pillow, uncomment L107 and comment L108.

from ml-gmpi.

neilwang0913 avatar neilwang0913 commented on August 20, 2024

Is there any reason why the pillow is a backup solution? Does that influence the computer performance?

from ml-gmpi.

Xiaoming-Zhao avatar Xiaoming-Zhao commented on August 20, 2024

No. It is just in my development environment, since I directly read from zip file (for FFHQ), sometimes PIL.Image says it cannot find some files, a weird issue that I did not dig too much. If PIL works for you, then enjoy.

from ml-gmpi.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.