Li Shen
Li Shen
https://github.com/songlab-cal/tape/blob/3d3657be86efb3a41fede18eded3554975069776/tape/datasets.py#L351 If I understand your code correctly, this line shall be `continue` instead of `pass`. If you use `pass`, the code will continue to mask the start and stop tokens...
See code: https://github.com/aurora95/Keras-FCN/blob/35afe12e514a3bf5e56bc90e69d5b329ce9ae68d/utils/loss_function.py#L14 https://github.com/aurora95/Keras-FCN/blob/35afe12e514a3bf5e56bc90e69d5b329ce9ae68d/utils/loss_function.py#L15 https://github.com/aurora95/Keras-FCN/blob/35afe12e514a3bf5e56bc90e69d5b329ce9ae68d/utils/loss_function.py#L16 At first you appended an additional column of all 0's in one-hot coding and then removed it. It seems to me you only need a...