Skip to content
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

Fix Error processing task: classify.style #320 #321

Conversation

Red-F
Copy link
Contributor

@Red-F Red-F commented Aug 10, 2021

This solves issue #320

The change is a lot smaller than the Git diff suggests :( It basically catches exceptions from tensor reading from file and then returning None since no result can be constructed. In addition the None results are handled when running as a Task or running stand-alone.

@Red-F Red-F force-pushed the 320-fix-error-processing-task-classify.style branch from 40c349b to 2b71f82 Compare August 17, 2021 17:23
@Red-F
Copy link
Contributor Author

Red-F commented Aug 17, 2021

Added a fix for photos with more than three channels (like CMYK) and squashed/re-based

@damianmoore
Copy link
Collaborator

Looks great. Thanks @Red-F. I'll be sure to try it out and make some test cases for this - hopefully soon.

@Red-F
Copy link
Contributor Author

Red-F commented Aug 18, 2021

test-photos.zip

@damianmoore damianmoore merged commit 93609b0 into photonixapp:master Sep 1, 2021
@damianmoore
Copy link
Collaborator

Merged and test added as of 53ef6f2

@damianmoore
Copy link
Collaborator

Thanks @Red-F very much for this.

@Red-F Red-F deleted the 320-fix-error-processing-task-classify.style branch September 2, 2021 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants