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 fccc3e1 commit 90a7a93
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions 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 Expand Up @@ -2004,9 +2005,34 @@
"split_at_heading": true
},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down

0 comments on commit 90a7a93

Please sign in to comment.