Closed drazendee closed 3 years ago
Today compress() allows users to compress a set of files to an individual file.
compress()
valohai.outputs('resized').compress("*.png", "images.zip", remove_originals=True)
However, it doesn't allow you to compress all subfolders and their files from the output. For example:
- myoutput - train - images - labels - eval - images - labels
There are several cases where you'd output files into a specific folder structure, and then compress that and upload to your cloud storage (and maintain the folder structure for when you pull it down for the next execution)
Today
compress()
allows users to compress a set of files to an individual file.valohai.outputs('resized').compress("*.png", "images.zip", remove_originals=True)
However, it doesn't allow you to compress all subfolders and their files from the output. For example:
There are several cases where you'd output files into a specific folder structure, and then compress that and upload to your cloud storage (and maintain the folder structure for when you pull it down for the next execution)