-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datasets): Add format for ImageDataSet save (#77)
* Add format for ImageDataSet save When using the ImageDataSet with S3 storage you need to manually specify the format in the save_args dict despite the suffix in the file. This is since the save method on the PIL images are called with an open file. The PIL documentation states the following about the format argument: "If a file object was used instead of a filename, this parameter should always be used." Signed-off-by: Daniel Falk <daniel.falk.1@fixedit.ai> * Add unit test + lint Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com> * Update Release notes Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com> --------- Signed-off-by: Daniel Falk <daniel.falk.1@fixedit.ai> Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com> Co-authored-by: Ankita Katiyar <110245118+ankatiyar@users.noreply.github.com> Co-authored-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
- Loading branch information
1 parent
884c1fe
commit ae9b6e5
Showing
4 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters