Open insookim43 opened 3 years ago
Hello,
This is strange, but the implementation of SAM should change soon to fit the new version of the paper. I'll keep you updated! In the meantime, do you have sample data on which the error occurs ?
Thanks for reply. I think SAM algorithm itself is okay, but I think other dependency libraries caused the problem. Might be wrong, but I think pytorch version I used caused the issue. Downgrading it to the old version, worked well!
Okay ! noted, thanks, we should test with newer versions so it works
Hi, I have error while using SAM algorithm. I have original data shape (1000 row x 313 column), and batch size is 10, and I am trying to infer data structure using SAM. And error is as above.
The code worked some month ago, so I totally am confused why it complains about batch size(10) should be same to intermediate neural net node number(314 = that's 314 + 1, as i have set..) now.
Tried to 1) transpose data itself and then predict output, but still didn't work, same error message but with different dimension number 2) changed batch size to 314 (I know.. this would never work.)
Can someone help? (Sorry if I might be asking something very basic.)