This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Data Overhaul
[0.6.0] - 2021-12-13
Added
- Added
TextEmbedder
task (#996) - Added predict_kwargs in
ObjectDetector
,InstanceSegmentation
,KeypointDetector
(#990) - Added backbones for
GraphClassifier
(#592) - Added
GraphEmbedder
task (#592) - Added support for comma delimited multi-label targets to the
ImageClassifier
(#997) - Added
datapipeline_state
on dataset creation within thefrom_*
methods from theDataModule
(#1018)
Changed
- Changed
DataSource
toInput
(#929) - Changed
Preprocess
toInputTransform
(#951) - Changed classes named
*Serializer
and properties / variables namedserializer
to be*Output
andoutput
respectively (#927) - Changed
Postprocess
toOutputTransform
(#942) - Changed loading of RGBA images to drop alpha channel by default (#946)
- Updated
FlashFinetuning
callback to use separate hooks that lets users use the freezing logic provided out-of-the-box from flash, route FlashFinetuning through a registry. (#830) - Changed the
SpeechRecognition
task to useAutoModelForCTC
rather than justWav2Vec2ForCTC
(#874) - Changed the
Deserializer
to subclassServeInput
(#1013) - Added
Output
suffix toPreds
,FiftyOneDetectionLabels
,SegmentationLabels
,FiftyOneDetectionLabels
,DetectionLabels
,Classes
,FiftyOneLabels
,Labels
,Logits
,Probabilities
(#1011) - Changed
from_files
andfrom_folders
fromObjectDetectionData
,InstanceSegmentationData
,KeypointDetectionData
to support only thepredicting
stage (#1018) - Changed
Image Classification Task
to use the new DataModule API (#1025)
Deprecated
- Deprecated
flash.core.data.process.Serializer
in favour offlash.core.data.io.output.Output
(#927) - Deprecated
Task.serializer
in favour ofTask.output
(#927) - Deprecated
flash.text.seq2seq.core.metrics
in favour oftorchmetrics[text]
(#648) - Deprecated
flash.core.data.data_source.DefaultDataKeys
in favour offlash.DataKeys
(#929) - Deprecated
data_source
argument toflash.Task.predict
in favour ofinput
(#929)
Fixed
- Fixed a bug where using image classification with DDP spawn would trigger an infinite recursion (#969)
- Fixed a bug where Flash could not be used with IceVision 0.11.0 (#989)
- Fixed a bug where backbone weights were sometimes not frozen correctly (#992)
- Fixed a bug where translation metrics were not computed correctly (#992)
- Fixed a bug where additional
DataModule
keyword arguments could not be configured with Flash Zero for some tasks (#994) - Fixed a bug where the TabularForecaster would not work with some versions of pandas (#995)
Removed
- Removed
OutputMapping
(#939) - Removed
Output.enable
andOutput.disable
(#939) - Removed
OutputTransform.save_sample
andsave_data
hooks (#948) - Removed InputTransform
pre_tensor_transform
,to_tensor_transform
,post_tensor_transform
hooks in favour ofper_sample_transform
(#1010) - Removed
Task.predict
, useTrainer.predict
instead (#1030) - Removed the
backbone
argument fromTextClassificationData
, it is now sufficient to only provide abackbone
argument to theTextClassifier
(#1022) - Removed support for the
serve_sanity_check
argument inflash.Trainer
(#1062)
Contributors
@abhijithneilabraham @Actis92 @alexheat @ananyahjha93 @Borda @ethanwharris @flozi00 @karthikrangasai @PabloAMC @SkafteNicki @tchaton
If we forgot someone due to not matching commit email with GitHub account, let us know :]