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
I hope my message finds you well. I ran into problem when I wanted to apply the code in this repo on a "survival" dataset where each patient has "only one" follow-up that contained patient baseline characteristics - essentially, what I wanted to do was to test if the DDH model could be used to predict patient survival time with patient baseline characteristics, like conventional survival models (eg. Cox) did. The code was terminated with the following error:
TensorArray has size zero, but element shape [?,x] is not fully defined. Currently only static shapes are supported when packing zero-size TensorArrays.
(x is a positive integer and probably has something to do with my dataset)
This error ONLY occured when the training dataset contained exactly one and only one follow-up for each patient. Adding even just one repetitive measurement to the training set would resolve the error. I think this might be something to do with how the training set was structured in the Tensorflow Array, but I have very limited experience with Tensorflow-based deep learning and there was no much information about this error on the internet.
Any help regarding my question would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Dear author/To whom it may concern,
I hope my message finds you well. I ran into problem when I wanted to apply the code in this repo on a "survival" dataset where each patient has "only one" follow-up that contained patient baseline characteristics - essentially, what I wanted to do was to test if the DDH model could be used to predict patient survival time with patient baseline characteristics, like conventional survival models (eg. Cox) did. The code was terminated with the following error:
TensorArray has size zero, but element shape [?,x] is not fully defined. Currently only static shapes are supported when packing zero-size TensorArrays.
(
x
is a positive integer and probably has something to do with my dataset)This error ONLY occured when the training dataset contained exactly one and only one follow-up for each patient. Adding even just one repetitive measurement to the training set would resolve the error. I think this might be something to do with how the training set was structured in the Tensorflow Array, but I have very limited experience with Tensorflow-based deep learning and there was no much information about this error on the internet.
Any help regarding my question would be greatly appreciated.
The text was updated successfully, but these errors were encountered: