Hub: Log/Print download progress for tf hub modules

Created on 13 Apr 2018  Â·  2Comments  Â·  Source: tensorflow/hub

I'm just beginning using tensorflow_hub modules and am slightly annoyed by the fact that download progress is not displayed. For the larger modules, I am always checking my Activity Monitor to see if the download is actually progressing.

I would love to see an implementation that displays (rather it be logging info or simply prints to the console) download progress of modules. Could we see this feature anytime soon?

Most helpful comment

We have submitted a change that now logs the progress of the download. By
default, the progress is logged to tf.log as info messages. The default
logging for tf.log is warning so the severity would have to be set
explicitly to info using set_verbosity
https://www.tensorflow.org/api_docs/python/tf/logging/set_verbosity. If
you are using the TF Hub library from a command-line tool and would like a
bit more interactive progress tracking, you can set
TFHUB_DOWNLOAD_PROGRESS=1 environment variable to enable progressing
printing into stdout.

Hope this helps!

On Tue, Apr 17, 2018 at 10:52 AM Andrey Khorlin akhorlin@google.com wrote:

We will look into adding the progress tracking for module downloads. Once
we have a fix, we will update the thread.

On Fri, Apr 13, 2018 at 11:32 PM Marshal Hayes notifications@github.com
wrote:

I'm just beginning using tensorflow_hub modules and am slightly annoyed
by the fact that download progress is not displayed. For the larger
modules, I am always checking my Activity Monitor to see if the download is
actually progressing.

I would love to see an implementation that displays (rather it be logging
info or simply prints to the console) download progress of modules. Could
we see this feature anytime soon?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AbunTAKhT2UN6AlZ9hsV3aRsDBUZ17txks5toRlfgaJpZM4TUfA1
.

All 2 comments

We will look into adding the progress tracking for module downloads. Once
we have a fix, we will update the thread.

On Fri, Apr 13, 2018 at 11:32 PM Marshal Hayes notifications@github.com
wrote:

I'm just beginning using tensorflow_hub modules and am slightly annoyed
by the fact that download progress is not displayed. For the larger
modules, I am always checking my Activity Monitor to see if the download is
actually progressing.

I would love to see an implementation that displays (rather it be logging
info or simply prints to the console) download progress of modules. Could
we see this feature anytime soon?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AbunTAKhT2UN6AlZ9hsV3aRsDBUZ17txks5toRlfgaJpZM4TUfA1
.

We have submitted a change that now logs the progress of the download. By
default, the progress is logged to tf.log as info messages. The default
logging for tf.log is warning so the severity would have to be set
explicitly to info using set_verbosity
https://www.tensorflow.org/api_docs/python/tf/logging/set_verbosity. If
you are using the TF Hub library from a command-line tool and would like a
bit more interactive progress tracking, you can set
TFHUB_DOWNLOAD_PROGRESS=1 environment variable to enable progressing
printing into stdout.

Hope this helps!

On Tue, Apr 17, 2018 at 10:52 AM Andrey Khorlin akhorlin@google.com wrote:

We will look into adding the progress tracking for module downloads. Once
we have a fix, we will update the thread.

On Fri, Apr 13, 2018 at 11:32 PM Marshal Hayes notifications@github.com
wrote:

I'm just beginning using tensorflow_hub modules and am slightly annoyed
by the fact that download progress is not displayed. For the larger
modules, I am always checking my Activity Monitor to see if the download is
actually progressing.

I would love to see an implementation that displays (rather it be logging
info or simply prints to the console) download progress of modules. Could
we see this feature anytime soon?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/hub/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AbunTAKhT2UN6AlZ9hsV3aRsDBUZ17txks5toRlfgaJpZM4TUfA1
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bhack picture bhack  Â·  3Comments

iliaschalkidis picture iliaschalkidis  Â·  5Comments

lugq1990 picture lugq1990  Â·  4Comments

truas picture truas  Â·  5Comments

dav-ell picture dav-ell  Â·  4Comments