FCGF icon indicating copy to clipboard operation
FCGF copied to clipboard

Network architecture diagram does not match the implementation code

Open virtualRooom opened this issue 5 years ago • 1 comments
trafficstars

Hi chrischoy, @chrischoy

Nice work and thank you for sharing the code.

I have a question about the implementation of ResUNet2. In my opinion, the forward() function of ResUNet2 should look like:

def forward(self, x): 
   out_s1 = self.conv1(x) 
   out_s1 = self.norm1(out_s1) 
   out_s1 = MEF.relu(out_s1)
   out= self.block1(out_s1) 
   ...

As shown in the ResUNet architecture in the paper: image

However, your implement of ResUNet2 feed output of residual block to 3D ConvTr, and activate feature map twice using ReLU(one in self.block, one in MEF.relu). Is there a problem here, or am I missing something?

https://github.com/chrischoy/FCGF/blob/458549e076d9941dce550c3de334be5a7bf9cde9/model/resunet.py#L142-L147

virtualRooom avatar Jul 06 '20 16:07 virtualRooom

Yes, your first model was the one that I tried first and experimentally, I found that the current model works better.

The diagram might not match the implementation as we tried various models in the camera ready and used the one variation that worked best. Sorry for the confusion.

chrischoy avatar Jul 06 '20 16:07 chrischoy