-
Notifications
You must be signed in to change notification settings - Fork 296
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
Using filesystem from tensorboard #335
Comments
can someone help me understand if this is possible? @damienpontifex, were you able to get this working? |
@ms-lolo At the moment azure blob storage file system has been fully built into tensorflow-io, so you should be able to use
For tensorboard, in theory it should be similar as long as Also a tutorial about azfs is available in https://www.tensorflow.org/io/tutorials/azure |
thanks for the response, @yongtang, I'm a little confused by this ticket then: tensorflow/tensorboard#2424 I guess it's not clear to me how this support works when I am trying to run tensorboard as a terminal command and not as part of a notebooks. I am specifically trying to run something like |
@ms-lolo Yes the |
ok last question! the docs you linked mention The main requirement for us is to not have access to SAS tokens or other secrets. |
@ms-lolo We use Azure Storage CPP SDK (https://github.com/Azure/azure-storage-cpplite) so in theory it conforms to the same methods like python SDK. Can you give it a try, and, in case it is not supported on |
Just tested and I am seeing 404 errors when trying to run pip install tensorflow-io import os
import tensorflow as tf
import tensorflow_io as tfio
pathname = 'az://[account]/[container]/foo'
tf.io.gfile.mkdir(pathname) The command hangs for a dozen seconds or so before giving me a 404 error. The docs also mention a |
if it helps, this is how I would access the same location using the python blob sdk (just listing the blobs at this path): from azure.identity import DefaultAzureCredential
from azure.storage.blob import BlobServiceClient
credential = DefaultAzureCredential()
container_client = ContainerClient(
account_url=f"https://[account].blob.core.windows.net/",
container_name="[container]",
credential=credential)
blobs = container_client.list_blobs(name_starts_with="foo/") The important part is that this works without specifying any authentication secrets. If this code runs on a machine that has the appropriate access permissions, the code will run and be authenticated automatically. |
This is a question or maybe request for documentation:
How would we use a tensorflow/io filesystem from tensorboard from the command line? Similar to how we can do it with GCS as
tensorboard --logdir=gs://bucket/path/to/logs
I'd like to be able to do the same with the recent azure blob storage file system.I believe the GCS file system is built into the main tensorflow repo and so I assume gets packaged up and available when tensorboard is built also.
The text was updated successfully, but these errors were encountered: