Skip to content

Setting Log Level via Java API? #33881

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

Closed
lucaro opened this issue Oct 31, 2019 · 8 comments
Closed

Setting Log Level via Java API? #33881

lucaro opened this issue Oct 31, 2019 · 8 comments
Assignees
Labels
comp:apis Highlevel API related issues TF 1.14 for issues seen with TF 1.14 type:feature Feature requests

Comments

@lucaro
Copy link

lucaro commented Oct 31, 2019

System information

  • TensorFlow version: 1.14 (via Java API)

Describe the current behavior

When using the current Java bindings for TensorFlow, the log gets filled with output from every operation when a model is evaluated. I was unable to find a way to set the log level via the Java API. Is this at all possible?

@Craigacp
Copy link

Craigacp commented Nov 1, 2019

Active development on the TF Java API is happening on https://github.com/tensorflow/java, might be worth opening the issue there.

@lucaro
Copy link
Author

lucaro commented Nov 1, 2019

Hey, thanks, but the code in that repository is not yet available as a maven artifact. The relevant code in my case is hosted in https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java

@Craigacp
Copy link

Craigacp commented Nov 1, 2019

Yes, but there isn't any development happening on the API in the main tensorflow tree. I don't think it's possible to set the log level from Java at the moment. Open the issue on the Java API and we'll get to it.

@lucaro
Copy link
Author

lucaro commented Nov 1, 2019

Ok, done: tensorflow/java#3

@ravikyram ravikyram self-assigned this Nov 4, 2019
@ravikyram ravikyram added the TF 1.14 for issues seen with TF 1.14 label Nov 4, 2019
@ravikyram
Copy link
Contributor

ravikyram commented Nov 4, 2019

Can we close issue here and follow up in tensorflow/java#3 .Please, confirm.Thanks!

@ravikyram ravikyram added the stat:awaiting response Status - Awaiting response from author label Nov 4, 2019
@lucaro
Copy link
Author

lucaro commented Nov 4, 2019

Whatever is easiest for you.

@tensorflowbutler tensorflowbutler removed the stat:awaiting response Status - Awaiting response from author label Nov 4, 2019
@ravikyram ravikyram added comp:apis Highlevel API related issues type:support Support issues labels Nov 7, 2019
@ravikyram ravikyram assigned ymodak and unassigned ravikyram Nov 7, 2019
@ymodak ymodak added type:feature Feature requests and removed type:support Support issues labels Nov 7, 2019
@ymodak ymodak assigned sjamesr and unassigned ymodak Nov 7, 2019
@tensorflowbutler
Copy link
Member

Hi There,

We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.

This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.

@lucaro
Copy link
Author

lucaro commented Feb 2, 2021

I don't think this has been resolved in tensorflow 2.X, or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:apis Highlevel API related issues TF 1.14 for issues seen with TF 1.14 type:feature Feature requests
Projects
None yet
Development

No branches or pull requests

6 participants