Loading Tensorflow Dataset

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.

A post was merged into an existing topic: Loading Google sheets into tensorflow