2017-07-15 5 views
1

Azureでモデルトレーニング用のVMを構築しようとしています。このData Science Virtual Machine for Linux (Ubuntu) VMが適切な候補のようです。caffeとGPU対応Microsoft Azure VM

残念ながら、私がVMをスピンアップし、caffeの前提条件をインストールすると、テストを実行できませんでした。

NVIDIA: no NVIDIA devices found 
Cuda number of devices: 0 
Setting to use device 0 
Current device id: 0 
Current device name: 
Note: Randomizing tests' orders with a seed of 97204 . 
[==========] Running 2041 tests from 267 test cases. 
[----------] Global test environment set-up. 
[----------] 11 tests from AdaDeltaSolverTest/3, where TypeParam = caffe::GPUDevice<double> 
[ RUN  ] AdaDeltaSolverTest/3.TestAdaDeltaLeastSquaresUpdateWithHalfMomentum 
NVIDIA: no NVIDIA devices found 
E0715 02:24:32.097311 59355 common.cpp:114] Cannot create Cublas handle. Cublas won't be available. 
NVIDIA: no NVIDIA devices found 
E0715 02:24:32.103780 59355 common.cpp:121] Cannot create Curand generator. Curand won't be available. 
F0715 02:24:32.103914 59355 test_gradient_based_solver.cpp:80] Check failed: error == cudaSuccess (30 vs. 0) unknown error 
*** Check failure stack trace: *** 
    @  0x7f77a463f5cd google::LogMessage::Fail() 
    @  0x7f77a4641433 google::LogMessage::SendToLog() 
    @  0x7f77a463f15b google::LogMessage::Flush() 
    @  0x7f77a4641e1e google::LogMessageFatal::~LogMessageFatal() 
    @   0x7115e3 caffe::GradientBasedSolverTest<>::TestLeastSquaresUpdate() 
    @   0x7122af caffe::AdaDeltaSolverTest_TestAdaDeltaLeastSquaresUpdateWithHalfMomentum_Test<>::TestBody() 
    @   0x8e6023 testing::internal::HandleExceptionsInMethodIfSupported<>() 
    @   0x8df63a testing::Test::Run() 
    @   0x8df788 testing::TestInfo::Run() 
    @   0x8df865 testing::TestCase::Run() 
    @   0x8e0b3f testing::internal::UnitTestImpl::RunAllTests() 
    @   0x8e0e63 testing::UnitTest::Run() 
    @   0x466ecd main 
    @  0x7f77a111c830 __libc_start_main 
    @   0x46e589 _start 
    @    (nil) (unknown) 
Makefile:532: recipe for target 'runtest' failed 
make: *** [runtest] Aborted (core dumped) 

それはGPUに適したAzureのでcaffeを用いた学習が有効マシンを仮想マシンをスピンアップすることは可能です:私は(エラーなしで完了したmake allmake testmake runtestに次のエラーを取得していますか?

すでにカフェはは/ opt /カフェでインストールされているUbuntuのためにVM here enter image description here

答えて

2

データサイエンス仮想マシン(DSVM)に関するすべての詳細が表示されます。 GPUで使用するには、NCサイズの1つを選択してK80 GPUを使用してVMを作成します。 (ストレージタイプとしてHDDを選択してください。そうしないと、NCサイズは表示されません)。Caffeはそのまま使用できます。

PyCaffeも利用可能です。端末で:

source activate root 

そしてPythonはPyCaffeを利用できるようになります。