Shortcuts

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[0.5.2] - 2021-11-05

[0.5.2] - Added

  • Added a TabularForecaster task based on PyTorch Forecasting (#647)

  • Added a TabularRegressor task (#892)

[0.5.2] - Fixed

  • Fixed a bug where test metrics were not logged correctly with active learning (#879)

  • Fixed a bug where validation metrics could be aggregated together with test metrics in some cases (#900)

  • Fixed a bug where the latest versions of torchmetrics and Lightning Flash could not be installed together (#902)

  • Fixed compatibility with PyTorch-Lightning 1.5 (#933)

[0.5.1] - 2021-10-26

[0.5.1] - Added

  • Added LabelStudio integration (#554)

  • Added support learn2learn training_strategy for ImageClassifier (#737)

  • Added vissl training_strategies for ImageEmbedder (#682)

  • Added support for from_data_frame to TextClassificationData (#785)

  • Added FastFace integration (#606)

  • Added support for from_lists to TextClassificationData (#805)

[0.5.1] - Changed

  • Changed the default num_workers on linux to 0 (matching the default for other OS) (#759)

  • Optimizer and LR Scheduler registry are used to get the respective inputs to the Task using a string (or a callable). (#777)

[0.5.1] - Fixed

  • Fixed a bug where additional kwargs (e.g. sampler) passed to tabular data would be ignored (#792)

  • Fixed a bug where loading text data with additional non-numeric columns (not input or target) would give an error (#888)

[0.5.0] - 2021-09-07

[0.5.0] - Added

  • Added support for (input, target) style datasets (e.g. torchvision) to the from_datasets method (#552)

  • Added support for from_csv and from_data_frame to ImageClassificationData (#556)

  • Added SimCLR, SwAV, Barlow-twins pretrained weights for resnet50 backbone in ImageClassifier task (#560)

  • Added support for Semantic Segmentation backbones and heads from segmentation-models.pytorch (#562)

  • Added support for nesting of Task objects (#575)

  • Added PointCloudSegmentation Task (#566)

  • Added PointCloudObjectDetection Task (#600)

  • Added a GraphClassifier task (#73)

  • Added the option to pass pretrained as a string to SemanticSegmentation to change pretrained weights to load from segmentation-models.pytorch (#587)

  • Added support for field parameter for loadng JSON based datasets in text tasks. (#585)

  • Added AudioClassificationData and an example for classifying audio spectrograms (#594)

  • Added a SpeechRecognition task for speech to text using Wav2Vec (#586)

  • Added Flash Zero, a zero code command line ML platform built with flash (#611)

  • Added support for .npy and .npz files to ImageClassificationData and AudioClassificationData (#651)

  • Added support for from_csv to the AudioClassificationData (#651)

  • Added option to pass a resolver to the from_csv and from_pandas methods of ImageClassificationData, which is used to resolve filenames given IDs (#651)

  • Added integration with IceVision for the ObjectDetector (#608)

  • Added keypoint detection task (#608)

  • Added instance segmentation task (#608)

  • Added Torch ORT support to Transformer based tasks (#667)

  • Added support for flash zero with the InstanceSegmentation and KeypointDetector tasks (#672)

  • Added support for in_chans argument to the flash ResNet to control the expected number of input channels (#673)

  • Added a QuestionAnswering task for extractive question answering (#607)

  • Added automatic unwrapping of IceVision prediction objects (#727)

  • Added support for the ObjectDetector with FiftyOne (#727)

  • Added support for MP3 files to the SpeechRecognition task with librosa (#726)

  • Added support for from_numpy and from_tensors to AudioClassificationData (#745)

[0.5.0] - Changed

  • Changed how pretrained flag works for loading weights for ImageClassifier task (#560)

  • Removed bolts pretrained weights for SSL from ImageClassifier task (#560)

  • Changed the behaviour of the sampler argument of the DataModule to take a Sampler type rather than instantiated object (#651)

  • Changed arguments to ObjectDetector, use head instead of model and append _fpn to the backbone name instead of the fpn argument (#608)

[0.5.0] - Fixed

  • Fixed a bug where serve sanity checking would not be triggered using the latest PyTorchLightning version (#493)

  • Fixed a bug where train and validation metrics weren’t being correctly computed (#559)

  • Fixed a bug where an uncaught ValueError could be raised when checking if a module is available (#615)

  • Fixed a bug where some tasks were not compatible with PyTorch 1.7 due to use of torch.jit.isinstance (#611)

  • Fixed a bug where custom samplers would not be properly forwarded to the data loader (#651)

  • Fixed a bug where it was not possible to pass no metrics to the ImageClassifier or TestClassifier (#660)

  • Fixed a bug where drop_last would be set to True during prediction and testing (#671)

  • Fixed a bug where flash was not compatible with pytorch-lightning >= 1.4.3 (#690)

[0.4.0] - 2021-06-22

[0.4.0] - Added

  • Added integration with FiftyOne (#360)

  • Added flash.serve (#399)

  • Added support for torch.jit to tasks where possible and documented task JIT compatibility (#389)

  • Added option to provide a Sampler to the DataModule to use when creating a DataLoader (#390)

  • Added support for multi-label text classification and toxic comments example (#401)

  • Added a sanity checking feature to flash.serve (#423)

[0.4.0] - Changed

  • Split backbone argument to SemanticSegmentation into backbone and head arguments (#412)

[0.4.0] - Fixed

  • Fixed a bug where the DefaultDataKeys.METADATA couldn’t be a dict (#393)

  • Fixed a bug where the SemanticSegmentation task would not work as expected with finetuning callbacks (#412)

  • Fixed a bug where predict batches could not be visualized with ImageClassificationData (#438)

[0.3.2] - 2021-06-08

[0.3.2] - Fixed

  • Fixed a bug where flash.Trainer.from_argparse_args + finetune would not work (#382)

[0.3.1] - 2021-06-08

[0.3.1] - Added

  • Added deeplabv3, lraspp, and unet backbones for the SemanticSegmentation task (#370)

[0.3.1] - Changed

  • Changed the installation command for extra features (#346)

  • Change resize interpolation default mode to nearest (#352)

[0.3.1] - Deprecated

  • Deprecated SemanticSegmentation backbone names torchvision/fcn_resnet50 and torchvision/fcn_resnet101, use fc_resnet50 and fcn_resnet101 instead (#370)

[0.3.1] - Fixed

  • Fixed flash.Trainer.add_argparse_args not adding any arguments (#343)

  • Fixed a bug where the translation task wasn’t decoding tokens properly (#332)

  • Fixed a bug where huggingface tokenizers were sometimes being pickled (#332)

  • Fixed issue with KorniaParallelTransforms to assure to share the random state between transforms (#351)

  • Fixed a bug where using val_split with overfit_batches would give an infinite recursion (#375)

  • Fixed a bug where some timm models were mistakenly given a global_pool argument (#377)

  • Fixed flash.Trainer.from_argparse_args not passing arguments correctly (#380)

[0.3.0] - 2021-05-20

[0.3.0] - Added

  • Added DataPipeline API (#188 #141 #207)

  • Added timm integration (#196)

  • Added BaseViz Callback (#201)

  • Added backbone API (#204)

  • Added support for Iterable auto dataset (#227)

  • Added multi label support (#230)

  • Added support for schedulers (#232)

  • Added visualisation callback for image classification (#228)

  • Added Video Classification task (#216)

  • Added Dino backbone for image classification (#259)

  • Added Data Sources API (#256 #264 #272)

  • Refactor preprocess_cls to preprocess, add Serializer, add DataPipelineState (#229)

  • Added Semantic Segmentation task (#239 #287 #290)

  • Added Object detection prediction example (#283)

  • Added Style Transfer task and accompanying finetuning and prediction examples (#262)

  • Added a Template task and tutorials showing how to contribute a task to flash (#306)

[0.3.0] - Changed

  • Rename valid_ to val_ (#197)

  • Refactor preprocess_cls to preprocess, add Serializer, add DataPipelineState (#229)

[0.3.0] - Fixed

  • Fix DataPipeline resolution in Task (#212)

  • Fixed a bug where the backbone used in summarization was not correctly passed to the postprocess (#296)

[0.2.3] - 2021-04-17

[0.2.3] - Added

  • Added TIMM integration as backbones (#196)

[0.2.3] - Fixed

  • Fixed nltk.download (#210)

[0.2.2] - 2021-04-05

[0.2.2] - Changed

  • Switch to use torchmetrics (#169)

  • Better support for optimizer and schedulers (#232)

  • Update lightning version to v1.2 (#133)

[0.2.2] - Fixed

  • Fixed classification softmax (#169)

  • Fixed a bug where loading from a local checkpoint that had pretrained=True without an internet connection would sometimes raise an error (#237)

  • Don’t download data if exists (#157)

[0.2.1] - 2021-3-06

[0.2.1] - Added

  • Added RetinaNet & backbones to ObjectDetector Task (#121)

  • Added .csv image loading utils (#116, #117, #118)

[0.2.1] - Changed

  • Set inputs as optional (#109)

[0.2.1] - Fixed

  • Set minimal requirements (#62)

  • Fixed VGG backbone num_features (#154)

[0.2.0] - 2021-02-12

[0.2.0] - Added

  • Added ObjectDetector Task (#56)

  • Added TabNet for tabular classification (#101)

  • Added support for more backbones(mobilnet, vgg, densenet, resnext) (#45)

  • Added backbones for image embedding model (#63)

  • Added SWAV and SimCLR models to imageclassifier + backbone reorg (#68)

[0.2.0] - Changed

  • Applied transform in FilePathDataset (#97)

  • Moved classification integration from vision root to folder (#86)

[0.2.0] - Fixed

  • Unfreeze default number of workers in datamodule (#57)

  • Fixed wrong label in FilePathDataset (#94)

[0.2.0] - Removed

  • Removed densenet161 duplicate in DENSENET_MODELS (#76)

  • Removed redundant num_features arg from Classification model (#88)

[0.1.0] - 2021-02-02

[0.1.0] - Added

  • Added flash_notebook examples (#9)

  • Added strategy to trainer.finetune with NoFreeze, Freeze, FreezeUnfreeze, UnfreezeMilestones Callbacks(#39)

  • Added SummarizationData, SummarizationTask and TranslationData, TranslationTask (#37)

  • Added ImageEmbedder (#36)

Read the Docs v: stable
Versions
latest
stable
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
docs-fix_tabular_forecasting
Downloads
pdf
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.