-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: change image class to use PyTorch tensors and methods #506
feat: change image class to use PyTorch tensors and methods #506
Conversation
feat: Added test implementation of CNN Layers
…o_pytorch_tensor_and_cnn_layer # Conflicts: # poetry.lock # pyproject.toml # tests/safeds/data/image/containers/test_image.py # tests/safeds/data/tabular/containers/_column/test_plot_boxplot.py # tests/safeds/data/tabular/containers/_column/test_plot_histogram.py # tests/safeds/data/tabular/containers/_table/test_plot_boxplots.py # tests/safeds/data/tabular/containers/_table/test_plot_correlation_heatmap.py # tests/safeds/data/tabular/containers/_table/test_plot_histograms.py # tests/safeds/data/tabular/containers/_table/test_plot_lineplot.py # tests/safeds/data/tabular/containers/_table/test_plot_scatterplot.py
… uses cpu docs: Added docstrings to all Image methods feat: Added IllegalFormatError refactor: Removed ImagePil
…ethods' of https://github.com/Safe-DS/Stdlib into image_to_pytorch_tensor_and_cnn_layer # Conflicts: # poetry.lock
refactor: Completely removed ImagePil
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
…ethods' of https://github.com/Safe-DS/Stdlib into 505-change-image-class-to-use-pytorch-tensors-pytorch-methods
refactor: Removed IllegalFormatError; Image._repr_jpeg now returns None if image has alpha channel
feat: Added IllegalFormatError
…nge-image-class-to-use-pytorch-tensors-pytorch-methods # Conflicts: # poetry.lock
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #506 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 49 49
Lines 2699 2681 -18
=========================================
- Hits 2699 2681 -18 ☔ View full report in Codecov by Sentry. |
test: added missing match arguments to tests with pytest.raises
…ethods' of https://github.com/Safe-DS/Stdlib into 505-change-image-class-to-use-pytorch-tensors-pytorch-methods
style: added section dividers in Image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really comprehensive. I only have a few remarks, mostly regarding the handling of devices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done, thank you!
🎉 This PR is included in version 0.17.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Closes #505
Summary of Changes
feat: Changed Image class to use PyTorch tensors
refactor: Image class now uses PyTorch transform methods