Fix #73
This commit is contained in:
parent
75bb9dcf4d
commit
48fc6c075b
@ -1172,7 +1172,7 @@
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"# for idx in cleaner.delete(): cleaner.fns[idx].unlink()\n",
|
||||
"# for idx,cat in cleaner.change(): shutil.move(cleaner.fns[idx], path/cat)"
|
||||
"# for idx,cat in cleaner.change(): shutil.move(str(cleaner.fns[idx]), path/cat)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -1188,7 +1188,7 @@
|
||||
"To move images where we've selected a different category, we would run:\n",
|
||||
"\n",
|
||||
"```python\n",
|
||||
"for idx,cat in cleaner.change(): shutil.move(cleaner.fns[idx], path/cat)\n",
|
||||
"for idx,cat in cleaner.change(): shutil.move(str(cleaner.fns[idx]), path/cat)\n",
|
||||
"```\n",
|
||||
"\n",
|
||||
"> s: Cleaning the data or getting it ready for your model are two of the biggest challenges for data scientists; they say it takes 90% of their time. The fastai library aims at providing tools to make it as easy as possible.\n",
|
||||
|
@ -668,7 +668,7 @@
|
||||
"source": [
|
||||
"#hide\n",
|
||||
"# for idx in cleaner.delete(): cleaner.fns[idx].unlink()\n",
|
||||
"# for idx,cat in cleaner.change(): shutil.move(cleaner.fns[idx], path/cat)"
|
||||
"# for idx,cat in cleaner.change(): shutil.move(str(cleaner.fns[idx]), path/cat)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user