Code Monkey home page Code Monkey logo

Comments (5)

thuanz123 avatar thuanz123 commented on August 23, 2024

Hi, this issue occurs because you cannot call C++ compiling tools of Window cl.exe. You can try to solve it by adding the path to cl.exe in the environment variable PATH. However, unless you are experienced in compiling Pytorch C++ code in Windows, I would advice you to use a Ubuntu machine to setup the project. Or you can opt for PatchGAN discriminator instead of StyleGAN one as some code of StyleGAN discriminator require C++ compiling

from enhancing-transformers.

bastvdn avatar bastvdn commented on August 23, 2024

Thanks a lot for the answer i'll try tomorrow and close the issue of it works

from enhancing-transformers.

thuanz123 avatar thuanz123 commented on August 23, 2024

Hi @bastvdn , how is it going ? If some issues occur, don't be shy to ask 😄

from enhancing-transformers.

bastvdn avatar bastvdn commented on August 23, 2024

Hi, I tried swapping the Discriminator and added cl.exe to my environment variable but i still have problem because i don't have ninja on windows
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
I guess it's like you said, i should use a ubuntu machine but it's too much of a bother because of how i work (already on remote desktop) i'll try another similar implementation to fix my problem i think it'll be easier, Thanks a lot for the answers tho

from enhancing-transformers.

thuanz123 avatar thuanz123 commented on August 23, 2024

Hi, I tried swapping the Discriminator and added cl.exe to my environment variable but i still have problem because i don't have ninja on windows subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1. I guess it's like you said, i should use a ubuntu machine but it's too much of a bother because of how i work (already on remote desktop) i'll try another similar implementation to fix my problem i think it'll be easier, Thanks a lot for the answers tho

hi @bastvdn, you can easily install Ninja with anaconda or pip install Ninja.

from enhancing-transformers.

Related Issues (18)

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.