Skip to content

Update from DSI#2

Merged
ajharris merged 2 commits intoassignment-onefrom
main
Oct 30, 2025
Merged

Update from DSI#2
ajharris merged 2 commits intoassignment-onefrom
main

Conversation

@ajharris
Copy link
Copy Markdown
Owner

@ajharris ajharris commented Oct 30, 2025

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

What did you learn from the changes you have made?

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

How were these changes tested?

A reference to a related issue in your repository (if applicable)

Checklist

  • I can confirm that my changes are working as intended

Alex Olson and others added 2 commits October 28, 2025 20:20
- Add scaling by 255 after skimage.transform.resize to convert from [0,1] to [0,255] range
- ResNet50 preprocess_input expects [0,255] range, not [0,1] range
- Fixes incorrect predictions caused by wrong preprocessing
- Applied to both cat image classification and webcam exercise cells
- Students still implement preprocess_input and predict steps themselves
…input-requires-0255-input-multiply-input_image-by-255-before-calling

Fix resize scale bug in lab_4.ipynb
@ajharris ajharris merged commit a8717dd into assignment-one Oct 30, 2025
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