tancik / StegaStamp

Invisible Hyperlinks in Physical Photographs
http://www.matthewtancik.com/stegastamp
MIT License
675 stars 191 forks source link

Some Code Problem #62

Open Xiao-Fangff opened 7 months ago

Xiao-Fangff commented 7 months ago

In model.StegaStampEncoder.call, I found this code

        conva = self.conv9(merge9)
        conv10 = self.conv10(conv9)
        residual = self.residual(conv9)
        return residual

Could you tell me what conva is and why con10 isn't used?

llbbcc commented 7 months ago

I think the correct code should be

        conv9 = self.conv9(merge9)
        conv10 = self.conv10(conv9)
        residual = self.residual(conv10)
        return residual
Xiao-Fangff commented 6 months ago

I think the correct code should be

        conv9 = self.conv9(merge9)
        conv10 = self.conv10(conv9)
        residual = self.residual(conv10)
        return residual

Thank you so much! That's what I thought.