I’m having the same problem. Can you please share a code example on how you used the folder name as a string. The docs are a bit confusing.
I don’t see what you’re referring to in the above thread. Can you quote the section you’re referencing? Or else provide more details about what you’re trying to do?
Hi there.
I am attempting to load a tensorflow dataset and I need the filepath of the folder as a string. I’ve tried passing in the folder using the app_file location as seen below:
negatives = tf.data.Dataset.load(app_files.test_neg)
Also, I need the entire folder and not just a file in it. As such, attempts to upload into data_files have also been futile.
Thanks in adnace.
Hi folks,
I am trying to load a tensorflow dataset to run my python code in the server module. I first tried uploading the folder into my data_files like this:
negatives = tf.data.Dataset.load(data_files['test_neg'])
However, only the files get uploaded, the accompanying folder does not.
I then tried uploading directly from my Google Drive:
negatives = tf.data.Dataset.load(app_files.test_neg)
The problem here is that I need a string path and anvil hasn’t constructed the link as such.
Any assistance will be greatly appreciated.
Thanks in advance.