-
Notifications
You must be signed in to change notification settings - Fork 652
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
Routing #28
Comments
@egorkrash First, the paper resets coupling coefficients after each sample. Second, I don’t think the value should be kept. Each sample should have its own coefficients, so keeping them will take too many resources. And when it comes to testing samples, they don’t have coefficients in memory, so their coefficients have to initialized to uniform. To keep the consistency, in training process we shouldn’t keep the coefficients of training samples. |
@XifengGuo Sorry if I seem to be offensive. I'm just trying to fix my misunderstanding and it would be great if you help me to do that. Could you please point me where it is said in the paper that coupling coefficients should be reseted after each training sample? And in which way do you mean keeping them will cost too much resources? So should routing algorithm take place while testing process? |
@egorkrash Now that each sample requires a The routing algorithm surely takes place in testing phase. For each testing sample, the You can get more perspectives about routing from #1 |
@XifengGuo Thanks a lot for the explanation! |
@egorkrash b_ij are not shared for all samples in batch, each sample in the batch has its own b_ij. |
Thankyou very very much !!!!!! for your clear explanation!!!!!!! |
Interesting discussion. Many of the tutorials I've seen for capsnets do not have a b_ij per sample, which is rather unfortunate. |
As I understand, you reset coupling coefficients after each training sample (batch). Don't you think it would be better to keep their previous state and update them depending on it?
The text was updated successfully, but these errors were encountered: