-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when applying tft.scale_to_z_score_per_key #220
Comments
Note that |
Ah, good point. That could explain the first error that I observed. Is there some way to make |
Updated the description with more of the stack trace for the |
The issue with supporting this has been coming up with a behaviour that isn't silently surprising. |
To unblock myself, if I fork |
Yes, that should work (make sure the default value is 0). |
This issue should be fixed now at head with 42916c2. |
(This is on TFT 0.23.0, I have not tried it yet with the latest version)
I am running into an issue with applying
tft.scale_to_z_score_per_key
where bothx
andkey
are SparseTensors. Analysis seems to proceed fine, but during transformation I get the following error:I traced this to a specific
tf.gather
op intf_utils.map_per_key_reductions
and I noticed that if I supply akey_vocabulary_filename
totft.scale_to_z_score_per_key
it does not invoketf_utils.map_per_key_reductions
. It instead callstf_utils.apply_per_key_vocabulary
. However, this also gives an error:I don't have a minimal dataset that reproduces this error. It only seems to happen when I try to process a relatively large amount of data.
The text was updated successfully, but these errors were encountered: