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
AttributeError: 'Tensor' object has no attribute 'assign' #2
Comments
Hello, I am very glad that my code and paper were helpful !! As for your error regarding MCNN, I think the network is being fed a kernel_size equal to zero. Can you make sure what values you are choosing for the kernel_size ?
You should make sure that this equation is not zero. In your case Then you should change the values in To sum up, try to remove the Let me know if this fixes the error. Best regards, |
Thank you very much for your quick response. Indeed, your proposed solution fixed the error. Best regards, |
Glad to help! Do not hesitate if you have any other questions. Best regards, Hassan |
where is the answer ?
|
First of all, thank you for your marvellous publication and also for open-sourcing your code.
I've been trying out your code with my own datasets and came across this error when using the MCNN model:
I am not sure what exactly is causing this error. I have tried the MCNN model with the UCR/Adiac dataset and it worked fine. I can only imagine it being due to the different input dataset. I have used the same input dataset for other models of your study and it worked fine on them as well.
It would be much appreciated if you could lead me in the right direction. If you need any more information, please let me know.
Best regards,
The text was updated successfully, but these errors were encountered: