In floyd command, I want to input two dataset under folder: laurence123/datasets/dog_cats/2/cat, laurence123/datasets/dog_cats/2/dog
so I mounted the data set as:
--data laurence123/datasets/dog_cats/2:/cat
--data laurence123/datasets/dog_cats/2:/dog
Then in my python code, I want to call all .jpg files under 'cat' and 'dog' files, so I use a method found online:
Use glob packages: img_path = glob.glob('laurence123/datasets/dog_cats/2:/cat/*.jpg')
However, img_path returns an empty list. It seems that on floydhub, I can't read all .jpg file normally like on my PC. How to call all image files from the mounted dataset?
In floyd command, I want to input two dataset under folder: laurence123/datasets/dog_cats/2/cat, laurence123/datasets/dog_cats/2/dog so I mounted the data set as: --data laurence123/datasets/dog_cats/2:/cat --data laurence123/datasets/dog_cats/2:/dog Then in my python code, I want to call all .jpg files under 'cat' and 'dog' files, so I use a method found online: Use glob packages: img_path = glob.glob('laurence123/datasets/dog_cats/2:/cat/*.jpg') However, img_path returns an empty list. It seems that on floydhub, I can't read all .jpg file normally like on my PC. How to call all image files from the mounted dataset?