[1fc74a]: / BioSeqNet / resnest / torch / readme.txt

Download this file

13 lines (7 with data), 511 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Replace `2d` with `1d`.

resnet.py
Add `num_channels=4` as the an argument of `class ResNet` and replace `conv_layer(3,` with `conv_layer(num_channels,`

splat.py
Replace `stride=(1,1)` with `stride=1`, `padding=(0,0)` with `padding=0`, `dilation=(1,1)` with `dilation=1`

Replace `self.rectify = rectify and (padding[0] > 0 or padding[1] > 0)` with `self.rectify = rectify and (padding > 0)`

Replace `atten = self.rsoftmax(atten).view(batch, -1, 1, 1)` with `atten = self.rsoftmax(atten).view(batch, -1, 1)`