MichaelKonu commited on
Commit
4fea57d
·
1 Parent(s): 481a27c

Update app.ipynp

Browse files
Files changed (1) hide show
  1. app.ipynp +3 -0
app.ipynp CHANGED
@@ -35,6 +35,9 @@ bears = DataBlock(
35
  # resizes each image
36
  item_tfms=Resize(128))
37
 
 
 
 
38
  bears = bears.new(
39
  item_tfms=RandomResizedCrop(224, min_scale=0.5),
40
  batch_tfms=aug_transforms())
 
35
  # resizes each image
36
  item_tfms=Resize(128))
37
 
38
+ dls = bears.dataloaders(path)
39
+ dls.valid.show_batch(max_n=4, nrows=1)
40
+
41
  bears = bears.new(
42
  item_tfms=RandomResizedCrop(224, min_scale=0.5),
43
  batch_tfms=aug_transforms())