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

The cropping part paper mentioned missed? #3

Open
qinwang-ai opened this issue Jan 9, 2019 · 0 comments
Open

The cropping part paper mentioned missed? #3

qinwang-ai opened this issue Jan 9, 2019 · 0 comments

Comments

@qinwang-ai
Copy link

   ` # 首先将输入缩小一倍
    inputs_stage1 = F.upsample(inputs, (48, 128, 128), mode='trilinear')

    # 得到第一阶段的结果
    output_stage1 = self.stage1(inputs_stage1)
    output_stage1 = F.upsample(output_stage1, (48, 256, 256), mode='trilinear')

    # 将第一阶段的结果与原始输入数据进行拼接作为第二阶段的输入
    inputs_stage2 = torch.cat((output_stage1, inputs), dim=1)`

The paper "A multi-scale pyramid of 3D fully convolutional networks for abdominal multi-organ segmentation" mentioned "The lower-resolution-level 3D FCN predictions are upsampled, cropped and concatenated with the inputs of a higher resolution 3D FCN."

I think it means the input of first stage not just 0.5 downsampling of the input simply, the input of the first stage should have more visual range than the input of second stage, the Fig.1 in the paper shows this very clearly.
I think the right process is let the input as first stage's input, then crop the center square area of the input (w, h = 0.5input_w, 0.5input_h), then upsample it 2x to the same size of the input, use it as the input of second stage, then go on......

@qinwang-ai qinwang-ai changed the title The cropping part of the paper mentioned missed? The cropping part the paper mentioned missed? Jan 9, 2019
@qinwang-ai qinwang-ai changed the title The cropping part the paper mentioned missed? The cropping part paper mentioned missed? Jan 9, 2019
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

1 participant