Closed robclouth closed 2 months ago
Hi Rob, I haven't answered this yet because I also can't figure out why this happening just from looking at it. If I manage to reproduce it or have any insight I'll update here, I'll be working with the SDK and plugin more in the next few months. I'm also a lot less experienced with C++ which makes it harder for me to debug errors like this.
As a general comment, it's more difficult for us to debug issues when interfacing with the SDK in C++ since this is outside the scope of what it was built for (it's designed for wrapping Neutone models in Python to be loaded in the Neutone plugin), so it may take longer to resolve issues like this.
One quick suggestion I just realized is you could experiment with overriding the
def aggregate_params(self, param: Tensor) -> Tensor:
method to see if that helps with your issue? (e.g. try not taking the mean and doing something simpler instead like using just the first value of the block)
Ok no worries. That's a good idea! Thanks
I'm trying to use a SQW wrapped model in C++ with libtorch. It was working in a previous version but something has changed and now i get this error. I'm calling the function like this:
This is the full error:
What am I doing wrong? The model has 2 defined parameters but previously I was passing in the paramsTensor with the maximum param count value (4) and it was working. Has something changed?