1

何十ものエラー メッセージが表示される、かなり危険な旅でした。ソースから Nvidia GPU を搭載した Windows 10 マシンに Caffe 2 をインストールしています。VS2017 Community Edition (CE)、CUDA 9.2、および cuDNN をインストールしました。CUDA サンプル.slnファイルをにビルドし、 を正常.exeに実行でき.exeました。

現在、Caffe 2 をインストールしようとしています。当然、この手順でもエラーが発生します。以前の問題と同様に、このエラーをグーグルで検索してみました。残念ながら、同じ問題を抱えている他の人を見つけることができず、その結果、解決策のヒントを見つけることができません.

https://caffe2.ai/docs/getting-started.html?platform=windows&configuration=compileにある Caffe 2 のインストール手順によると:

1. git clone --recursive https://github.com/pytorch/pytorch.git
2. build_windows.bat from the Developer Command Prompt for VS 2017

ステップ 2. で、次のエラーが表示されます。

       "C:\Users\andcy\pytorch\build\ALL_BUILD.vcxproj" (default target) (1) ->
       "C:\Users\andcy\pytorch\build\caffe2\caffe2.vcxproj" (default target) (13) ->
       (ClCompile target) ->
         c:\users\andcy\pytorch\third_party\eigen\eigen\src\core\products\generalblockpanelkernel.h(1902): fatal error C1001: An internal error has occurred in the compiler. [C:\Users\andcy\pytorch\build\caffe2\caffe2.vcxproj]
         cl : Command line error D8040: error creating or communicating with child process [C:\Users\andcy\pytorch\build\caffe2\caffe2.vcxproj]

    3282 Warning(s)
    2 Error(s)

Time Elapsed 00:05:11.58
"Caffe2 building failed"

C:\Users\andcy\pytorch\scripts>

この問題を解決する方法について誰かアドバイスはありますか? 約 1 週間、ローカル マシンに Caffe 2 をインストールしようとしてきました。

4

1 に答える 1

0

Well, according to the official troubleshooting section of Caffe2,

Until NVIDIA updates CUDA to support VS 17, you’re going to have to install VS 15 and try again.

So, you need to install Visual Studio 15 to install Caffe2 on Windows 10. The troubleshooting section can be found at Install Caffe2 on Windows

于 2019-02-06T18:08:00.350 に答える