Skip to content

Conversation

@renwerx
Copy link

@renwerx renwerx commented Oct 25, 2025

Added input size parameter to image_to_tensor function for standardising image dimensions. Check if images match required input dimensions and resize them if not before conversion. Avoids tensor mismatch errors.

Added input size parameter to image_to_tensor function for standardising image dimensions. Check if images match required input dimensions and resize them if not before conversion. Avoids tensor mismatch errors.
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.

1 participant