Skip to content

Commit

Permalink
Error in the The operator 'aten::_linalg_solve_ex.result' in the aug_…
Browse files Browse the repository at this point in the history
…transforms function in the Data Augmentation

Fixes fastai#588
  • Loading branch information
Akhil-Raj committed Jun 5, 2023
1 parent f6e40a8 commit ac14ac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 02_production.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,8 @@
}
],
"source": [
"bears = bears.new(item_tfms=Resize(128), batch_tfms=aug_transforms(mult=2))\n",
"custom_aug_transforms = [RandomResizedCrop(128, min_scale=0.35), Flip(), Brightness(), Contrast(), Rotate(max_deg=10.0)]\n",
"bears = bears.new(item_tfms=Resize(128), batch_tfms=custom_aug_transforms)\n",
"dls = bears.dataloaders(path)\n",
"dls.train.show_batch(max_n=8, nrows=2, unique=True)"
]
Expand Down

0 comments on commit ac14ac7

Please sign in to comment.