Skip to Content
詳説 Deep Learning ―実務者のためのアプローチ
book

詳説 Deep Learning ―実務者のためのアプローチ

by Josh Patterson, Adam Gibson, 本橋 和貴, 牧野 聡, 新郷 美紀
August 2019
Intermediate to advanced
608 pages
7h 46m
Japanese
O'Reilly Japan, Inc.
Content preview from 詳説 Deep Learning ―実務者のためのアプローチ

付録JDL4Jインストールのトラブルシューティング

サンプルを実行しようとしたときに何かうまくいかない場合は、トラブルシューティングの作業が必要になるでしょう。以下の節では、DL4Jの新規ユーザーが経験するよくある問題のいくつかについて紹介します。

J.1 以前のインストール

以前にDL4Jをインストールしていて、現在サンプルがエラーになる場合、ライブラリをアップデートしてください。Mavenを使用しているなら、pom.xmlファイルのバージョンをMaven Central(https://search.maven.org/)の最新バージョンに合わせてアップデートするだけです。ソースからインストールしているなら、ND4J、Canova、DL4Jをgit cloneで展開し、この順に各ディレクトリ内でmvn clearn install -Disktoptest=true -Dmaven.javac.skip=trueを実行することでアップデートできます。

J.2 ソースコードからインストールする際のメモリエラー

コード量の拡大に伴って、ソースコードからのインストールにはより多くのメモリが要求されます。DL4Jのビルド中にPermGen errorが起こったら、より多くのヒープ空間を追加する必要があるかもしれません。これには、環境変数をbashに追加する.bash_profileという隠しファイルを探して変更しなければなりません。環境変数はコマンドラインにenvと入力すれば確認できます。さらにヒープ空間を増量するために、コンソールから以下のコマンドを入力してください。

$ echo "export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=512m"" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

直感 Deep Learning ―Python×Kerasでアイデアを形にするレシピ

直感 Deep Learning ―Python×Kerasでアイデアを形にするレシピ

Antonio Gulli, Sujit Pal, 大串 正矢, 久保 隆宏, 中山 光樹
実践 自然言語処理 ―実世界NLPアプリケーション開発のベストプラクティス

実践 自然言語処理 ―実世界NLPアプリケーション開発のベストプラクティス

Sowmya Vajjala, Bodhisattwa Majumder, Anuj Gupta, Harshit Surana, 中山 光樹

Publisher Resources

ISBN: 9784873118802Other