tensorflow / tensorflow/java

Maven complains that ${javacpp.platform.extension} is undefined

オープン
#256 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Java
スター
928
フォーク
227
PR マージ指標
30日以内にマージされた PR はありません

説明

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows Version 10.0.19042.870
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
  • TensorFlow installed from (source or binary):
  • TensorFlow version: 0.3.1
  • Python version: N/A
  • Installed using virtualenv? pip? conda?: N/A
  • Bazel version (if compiling from source): N/A
  • GCC/Compiler version (if compiling from source): N/A
  • CUDA/cuDNN version: N/A
  • GPU model and memory: N/A

Describe the problem

The readme file references the following Maven code:

<dependency>
  <groupId>org.tensorflow</groupId>
  <artifactId>tensorflow-core-api</artifactId>
  <version>0.3.0</version>
  <classifier>linux-x86_64${javacpp.platform.extension}</classifier>
</dependency>

but it's not clear who defines ${javacpp.platform.extension}

When I add the following dependencies to my code, the build fails complaining that ${javacpp.platform.extension} is undefined:

			<dependency>
				<groupId>org.tensorflow</groupId>
				<artifactId>tensorflow-core-platform</artifactId>
				<version>${tensorflow.version}</version>
			</dependency>
			<dependency>
				<groupId>org.tensorflow</groupId>
				<artifactId>tensorflow-core-api</artifactId>
				<classifier>windows-x86_64${javacpp.platform.extension}</classifier>
				<version>${tensorflow.version}</version>
			</dependency>
			<dependency>
				<groupId>org.tensorflow</groupId>
				<artifactId>tensorflow-core-platform-gpu</artifactId>
				<version>${tensorflow.version}</version>
			</dependency>

Can you please clarify who defines this variable and what dependency I need to add to get this definition? Thanks in advance.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

README の Maven 依存関係の例から始め、classifier の使用方法を issue に示されている Windows 依存関係と比較します。${javacpp.platform.extension} がどこで定義される想定なのかを追跡し、その定義元の依存関係または必要な使用方法が明示され、例が曖昧にならないようにドキュメントを更新します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。