Most recent releases are shown at the top. Each release shows:
- New: New classes, methods, functions, etc
- Changed: Additional paramaters, changes to inputs or outputs, etc
- Fixed: Bug fixes that don't change documented behaviour
Note that the top-most release is changes in the unreleased master branch on Github. Parentheses after an item show the name or github id of the contributor of that change.
download_images: multi-process download of a file or URLsverify_images: multi-process verification of directory of images with optional deletion
ImageDataBunch.from_foldernow takesvalid_pct- master bar support in
download_url - various fixes to support the latest of
fastprogress Learner.normalize()(without args) stores calculated stats inLearner.statspred_batchmoved tobasic_trainand fixed for multiple inputslr_find()prints the next step to type when completed- New version of fastprogress used; doesn't require ipywidgets
- Removed
cifar_norm,cifar_denorm,imagenet_norm,imagenet_denorm
- pretrained language model is now downloaded directly in the .fastai/models/ folder. Use
pretrained_model=URLs.WT103 - add an argument
stop_divtoLearner.lr_find()to prevent early stopping, useful for negative losses. - add an argument
convert_modetoopen_maskandSegmentationDatasetto choose the PIL conversion mode of the masks.
URLs.download_wt103()has been removed
- change TextDataBunchClass method [
from_ids_files,from_tokens,from_df,from_csv,from_folder] so that classes argument is passed to the call to TextDataset - Strip space from file name when CSV has spaces
- Handle missing
loss_funcattr - Pass on the
use_bnparameter inget_tabular_learner - Bad handling when final batch has size of 1
- rolled back numpy dependency to >=1.12 (anaconda package has a upper pin on it) and to pip>=9.0.1, the old version are buggy but should be ok for fastai
- Added missing
pyyamldependency to conda too
- Use
spacy.blankinstead ofspacy.loadto avoid having to download english model
- Added missing
pyyamldependency
EarlyStoppingCallback,SaveModelCallback,TerminateOnNaNCallback(initial draft: fredguth)datapath4file(filename)returns suitable path to store or find data file calledfilename, using config file~/.fastai/config.yml, and default data directory~/.fastai/data, unless./dataexists and contains that file- MSELossFlat() loss function
- Simple integration tests for all applications
datais now calledbasic_datato avoid weird conflicts when naming our data objects data.datasets.untar_dataanddatasets.download_datawill now download to fastai home directory~/.fastai/dataif the dataset does not already exist locally./data.
- add
dep_varcolumn intest_dfif it doesn't exists (Kevin Bird) - backwards=True when creating a LanguageModelLoader (mboyanov)
- Not released
- New class
ImagePointsfor targets that are a set of point coordinates - New function
Image.predict(learn:Learner)to get the activations of the model inLearnerfor an image - New function
Learner.validateto validate on a given dl (defaultvalid_dl), with maybe new metrics or callbacks - New function
error_ratewhich is just1-accuracy()
- All vision models are now in the
modelsmodule, including torchvision models (where tested and supported). So usemodelsinstead oftvmnow. If your preferred torchvision model isn't imported, feel free to test it out and tell us on the forum if it works. And if it doesn't, a PR with a test and a fix would be appreciated! ImageBBoxis now a subclass ofImagePoints- All metrics are now
Callback. You can pass a regular function likeaccuracythat will get averaged over batch or a fullCallbackthat can do more complex things - All datasets convenience functions and paths are inside the
URLsclass URLsthat are a sample have name now suffixed with_SAMPLE
- Fix
WeightDropoutin RNNs whenp=0 pad_collategets itskwargsfromTextClasDataBunch- Add small
epstostdinTabularDatasetto avoid division by zero fit_one_cycledoesn't take other callbacks- Many broken docs links fixed
- Last release without CHANGES updates