-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoML jar file used from IntelliJ Java project - waiting forever for Prediction result (no Exception thrown) #1339
Labels
type: question
Request for information or clarification. Not an issue.
Comments
kurtisvg
added
the
type: question
Request for information or clarification. Not an issue.
label
Jun 10, 2019
@sirtorry or @andrewferlitsch can one of you take a look? |
The samples are expecting a few environment variables that might not be picked up by the jar.
|
minherz
pushed a commit
that referenced
this issue
Nov 9, 2022
🤖 I have created a release *beep* *boop* --- ### [0.122.12](googleapis/java-errorreporting@v0.122.11...v0.122.12) (2022-02-03) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-errorreporting/issues/1339)) ([#774](googleapis/java-errorreporting#774)) ([2215c2f](googleapis/java-errorreporting@2215c2f)) * update actions/github-script action to v5 ([#772](googleapis/java-errorreporting#772)) ([f11f14d](googleapis/java-errorreporting@f11f14d)) * update dependency com.google.cloud:google-cloud-core to v2.4.0 ([#775](googleapis/java-errorreporting#775)) ([c45c953](googleapis/java-errorreporting@c45c953)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#776](googleapis/java-errorreporting#776)) ([1aedbb1](googleapis/java-errorreporting@1aedbb1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
minherz
pushed a commit
that referenced
this issue
Nov 10, 2022
🤖 I have created a release *beep* *boop* --- ### [0.122.12](googleapis/java-errorreporting@v0.122.11...v0.122.12) (2022-02-03) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-errorreporting/issues/1339)) ([#774](googleapis/java-errorreporting#774)) ([2215c2f](googleapis/java-errorreporting@2215c2f)) * update actions/github-script action to v5 ([#772](googleapis/java-errorreporting#772)) ([f11f14d](googleapis/java-errorreporting@f11f14d)) * update dependency com.google.cloud:google-cloud-core to v2.4.0 ([#775](googleapis/java-errorreporting#775)) ([c45c953](googleapis/java-errorreporting@c45c953)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#776](googleapis/java-errorreporting#776)) ([1aedbb1](googleapis/java-errorreporting@1aedbb1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
minherz
pushed a commit
that referenced
this issue
Nov 10, 2022
🤖 I have created a release *beep* *boop* --- ### [0.122.12](googleapis/java-errorreporting@v0.122.11...v0.122.12) (2022-02-03) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-errorreporting/issues/1339)) ([#774](googleapis/java-errorreporting#774)) ([2215c2f](googleapis/java-errorreporting@2215c2f)) * update actions/github-script action to v5 ([#772](googleapis/java-errorreporting#772)) ([f11f14d](googleapis/java-errorreporting@f11f14d)) * update dependency com.google.cloud:google-cloud-core to v2.4.0 ([#775](googleapis/java-errorreporting#775)) ([c45c953](googleapis/java-errorreporting@c45c953)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#776](googleapis/java-errorreporting#776)) ([1aedbb1](googleapis/java-errorreporting@1aedbb1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sita04
pushed a commit
that referenced
this issue
Feb 7, 2023
🤖 I have created a release *beep* *boop* --- ### [3.1.2](googleapis/java-dlp@v3.1.1...v3.1.2) (2022-02-03) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-dlp/issues/1339)) ([#806](googleapis/java-dlp#806)) ([3f0d2b5](googleapis/java-dlp@3f0d2b5)) * update actions/github-script action to v5 ([#805](googleapis/java-dlp#805)) ([b4cf05f](googleapis/java-dlp@b4cf05f)) * update dependency com.google.cloud:google-cloud-pubsub to v1.115.1 ([#793](googleapis/java-dlp#793)) ([c524a47](googleapis/java-dlp@c524a47)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#809](googleapis/java-dlp#809)) ([9b8c0f7](googleapis/java-dlp@9b8c0f7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I have trained my own language model on Google Cloud. I am able to do predictions on this model via Google Console. Then I was experimenting with this Java example:
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/language/automl/src/main/java/com/google/cloud/language/samples/PredictionApi.java
I built jar from com.google.cloud.language.samples. When I run the jar from Windows command line everything is fine. But when I want to use this jar as Maven dependency in my Java Intellij project and I call the jar from my Java code, nothing happens. I am waiting forever for prediction result and no exception is thrown. In other words, call is executed but something is happening under hood without any result. Both calling jar from Windows cmd and calling jar from Intelij happen on the same computer. Is there some additional configuration that I need to add to Java project that uses AutoML jar as dependency?
Thank you in advance for any hint
The text was updated successfully, but these errors were encountered: