Open adonnini opened 9 months ago
yep i can confirm that fixes the issue and i can repro the actual export issue. Will let you know once i have more insights into what the issue is.
Thanks! I appreciate it
@tarun292 , Sorry to bother you again. It's been over a month since we last connected. (When) will you be able to take another look at this issue? I am still waiting for its resolution in order to be able to proceed with some of my work. Thanks
My Android application fails with
Attempted to resize a static tensor to a new shape at dimension 0
error. Please find the full logcat below.The shape of input datasets in my model is not static. Specifically, the number of steps in any one sequence varies.
here is the code I use to define the input dataset for the model in the Android application:
where 4 is the number of features and
tmpData.length
is the size of the input dataset (with n rows and 4 columns)here is the code I use to run inference:
when I run inference on my model processed with torchscript and processed using pytorch mobile. I produce the input dataset as follows:
and run inference as follows:
This works producing reasonable results.
I would appreciate any thoughts as to what is causing the problem, and how I might go about fixing it.
Thanks
LOGCAT