Skip to content
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

Question about the "class BasicEncoder" in extractor.py #151

Open
lxp1997 opened this issue Oct 11, 2022 · 1 comment
Open

Question about the "class BasicEncoder" in extractor.py #151

lxp1997 opened this issue Oct 11, 2022 · 1 comment

Comments

@lxp1997
Copy link

lxp1997 commented Oct 11, 2022

Hello, I have a question about the calss BasicEncode. The channelsLayer one to layer three are 64, 96 and 128. But I saw the channels are 64, 128 and 192 in Fig7. I cannot understand it. Could you help me?

@christian-tchenko
Copy link

Hello,
I faced the same problem and successfully solved it in this way.
May be it is helpful.

self.layer1 = self._make_layer(64,  stride=1)
self.layer2 = self._make_layer(128, stride=2)
self.layer3 = self._make_layer(192, stride=2)
# output convolution
self.conv2 = nn.Conv2d(192, output_dim, kernel_size=1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants