Hi,
I'm playing your sparse optimizer and meet an error.
Basically, in my compute graph, I calculate two losses from two sets of 2D tracks -- residual A^{m, 2} and residual B^{n, 2} and then concatenate them into a final loss tensor of size (m+n)x2.
But it reports the errors below:
bae/optim/optimizer.py", line 12, in jacobian
assert output.optrace[id(output)][0] == 'map', "The last operation in compute graph being indexing transform is not meaningful"
AttributeError: 'TrackingTensor' object has no attribute 'optrace'. Did you mean: 'trace'?
It seems that the optimizer has the very strict requirements on how we define the compute graph. Could you please give me some insight regarding why this happen and the guidance on how we should define the proper compute graph?
Thanks,
Weiwei.
Hi,
I'm playing your sparse optimizer and meet an error.
Basically, in my compute graph, I calculate two losses from two sets of 2D tracks -- residual
A^{m, 2}and residualB^{n, 2}and then concatenate them into a final loss tensor of size(m+n)x2.But it reports the errors below:
It seems that the optimizer has the very strict requirements on how we define the compute graph. Could you please give me some insight regarding why this happen and the guidance on how we should define the proper compute graph?
Thanks,
Weiwei.