Some of the notebook titles look familiar. Will you please say a sentence or two about what is different about the Class7-V1 notebooks before you launch into it. It will help us all in making our notes.
Thank you very much for the efforts you put in
Fast.ai 1.0 now available in the Kaggle Kernel! Yeahh.
It’s kind of sad to be at the last class! Do we get caps and gowns for the graduation ceremony?
Thank you very much for the course ! Thanks to the whole team !
how is it possible to view Augmented data batch
does Show batch shows the augmented images ??
I remember last year we had concluded cv2 is faster than PIL. Is that no longer our belief?
It does.
Is there a good way to know which components of from fastai import *
we are using in a given notebook if we don’t want to import everything? I’ve been confused by the course notebooks using global variables (it’s hard to know where they come from). Especially seems relevant when we want to “producationalize” a model.
We only use PIL for the reading jpeg and converting part, cv2 is faster for the transformations, but we do those internally now.
Can you use the full dataset for your normalize or do you need to choose a random set of the data?
If you call normalize()
it just grabs a batch, so if you want the stats on the full dataset, you’ll need to write your own loop.
I wonder why libraries like fastai don’t support different image sizes and instead we choose to resize and crop? If the image sizes in a given batch are the same size it should work or am I missing something here?
what’s the re reason black/white are inverted for data batch?
The problem is that your model likes randomness, so you have to give it batches of images that aren’t necessarily the same sizes if you want to do that.
Is there an issue with this type of code?
(data.normalize(data.batch_stats()))
It uses the full training sets batch stats (i think)
No, batch_stats
is what Jeremy described: it grabs a batch and computes the stats on it.
the feature map, probably.
ah, so in this case,
data.normalize()
is equivalent to data.normalize(data.batch_stats())
?
I believe it is.
Just proofread the code, it’s exactly what it is doing.