Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanwharris committed Jun 18, 2021
1 parent f8bb543 commit 7aa3835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash/core/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def build_data_pipeline(
else:
data_source = preprocess.data_source_of_name(data_source)

if type(deserializer) == Deserializer:
if deserializer is None or type(deserializer) == Deserializer:
deserializer = getattr(preprocess, "deserializer", deserializer)

data_pipeline = DataPipeline(data_source, preprocess, postprocess, deserializer, serializer)
Expand Down

0 comments on commit 7aa3835

Please sign in to comment.