Skip to content

Add ResNet exercise#43

Open
jatkinson1000 wants to merge 22 commits into
mainfrom
add-resnet-exercise
Open

Add ResNet exercise#43
jatkinson1000 wants to merge 22 commits into
mainfrom
add-resnet-exercise

Conversation

@jatkinson1000

Copy link
Copy Markdown
Member

This adds a version of the ResNet exercise as example 2 to be run through after SimpleNet.

It illustrates batching, pretrained models, and a "real-world" image-based example.

Based on the corresponding FTorch example with a few spaces left for users to complete.

Aims:

  • reinforce use of FTorch subroutines
  • Discuss batching
  • Bring awareness of images and data layout considerations

@jatkinson1000 jatkinson1000 force-pushed the add-resnet-exercise branch 3 times, most recently from 22c881d to e7d42e4 Compare June 9, 2026 15:35
@jatkinson1000 jatkinson1000 force-pushed the add-resnet-exercise branch 5 times, most recently from b036417 to ff04507 Compare June 15, 2026 11:09
…I arg, pt2ts with --model_weights, dynamic allocation
@jatkinson1000

Copy link
Copy Markdown
Member Author

@joewallwork think this is ready for a review.

I went back and forth a bit with batching, but had issues with ResNet seemingly expecting a leading batch dimension.
After enough sunk time I decided it wasn't worth pursuing for the purposes of this workshop.

I have checked that things run OK on codespaces, but if you could give it a quick spin and check you can follow the instruction in the slides/README that would be great.

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