Closed intrainepha closed 1 year ago
@iindyk @zoyahav This seems odd. Could you take a look?
@intrainepha,
Apologies for late reply. Does your pipeline works and transform component executes while passing custom_config
to preprocessing_fn
? Can you let me which BertPreprocessor you are using while transformation? I will try to replicate the issue on my end.
Generally BertPreprocessor expects the configs as dictionary as BertPreprocessor(**custom_config)
. Please try this out and let us know if you are still facing issues.
Thank you!
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
System information
Issue description: I am using
Tranform
component with argcustom_config
, like this:If i implement
preprocessing_fn
withoutcustom_config
:It all works fine with downstream components.
But when I then implement
preprocessing_fn
withcustom_config
:Transform layer is not working when i want to save model for tf serving, with code below:
transformed_features
is{}
, nothing in it, can not understand what is happening between these two different situations.