You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 9, 2024. It is now read-only.
Datasets where a column relevant to FDW (specifically, a column to slice on) contains empty values throw errors in one of two places:
If the dataset feature map contains VarLenFeatures, empty sparse tensors are created for them. The error is then in the dataset to example list function: SparseTensor has no attr .numpy().
If they're converted to empty dense tensors using tf.sparse.to_dense, the error is thrown the first time an empty value is read: list index (0) out of range [while running 'Filter slices by False']
This issue is worth addressing because the slicing columns needn't necessarily have been used for training - in fact for ethical reasons often may not have been - and therefore handling missing values isn't required by the training process.