GithubHelp home page GithubHelp logo

Comments (1)

justinjohn0306 avatar justinjohn0306 commented on August 26, 2024

I am experiencing error while executing main.py in windows. I have python 3.9, VC++ and cl.exe. I added the PATH, but it still displays an error:

File "C:\Users\AA\StyleFlow\dnnlib\tflib\custom_ops.py", line 61, in _run_cmd
raise RuntimeError('NVCC returned an error. See below for full command line and output log:\n\n%s\n\n%s' % (cmd, output))
RuntimeError: NVCC returned an error. See below for full command line and output log:

/usr/local/cuda/bin/nvcc --std=c++11 -DNDEBUG "C:\Users\AA\StyleFlow\dnnlib\tflib\ops\fused_bias_act.cu" --preprocess -o "C:\Users\AA\AppData\Local\Temp\tmph4c8mkpv\fused_bias_act_tmp.cu" --keep --keep-dir "C:\Users\AA\AppData\Local\Temp\tmph4c8mkpv" --disable-warnings --include-path "C:\Users\AA\anaconda3\envs\styleflow\lib\site-packages\tensorflow\include" --include-path "C:\Users\AA\anaconda3\envs\styleflow\lib\site-packages\tensorflow\include\external\protobuf_archive\src" --include-path "C:\Users\AA\anaconda3\envs\styleflow\lib\site-packages\tensorflow\include\external\com_google_absl" --include-path "C:\Users\AA\anaconda3\envs\styleflow\lib\site-packages\tensorflow\include\external\eigen_archive" --compiler-bindir "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64" 2>&1
cannot find the path specified

I have no idea why this is happening, nor how to fix it. Please help :(

+)
Even after changng all / in /usr/local/cuda/bin/nvcc and C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64" 2>&1 to

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX64\x64 and
'\usr\local\cuda\bin\nvcc

it is stilll not working
I first thought it was only the problem with cl.exe, since I did not get proper response with nvcc test_nvcc.cu -o test_nvcc -run.
But now I think the linux path is also a problem.

Check out my PR repo and start over from the beginning. Oh and download MSVS 17 not 19

from styleflow.

Related Issues (20)

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.