Tim Cheng
Apr 7, 2021

The NWayOneShotEvalSet is the function for evaluating the model against n-way one shot. For example, if n = 4, the set outputs a batch of 4 images, with 1 of them being from the correct label. The getitem function randomly creates these sets, so the idx is not used. The iteration is set by the testSize variable. Hope this helps!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Tim Cheng
Tim Cheng

Written by Tim Cheng

Oxford CS | Top Writer in AI | Posting on Deep Learning and Vision

Responses (1)

Write a response