Genentech / gReLU

gReLU is a python library to train, interpret, and apply deep learning models to DNA sequences.
https://genentech.github.io/gReLU/
MIT License
230 stars 23 forks source link

Add onehot encoding dataset #77

Open HelloWorldLTY opened 1 month ago

HelloWorldLTY commented 1 month ago

Hi, I notice that the class "class LabeledSeqDataset(Dataset)" actually does not accept one hot encoding as inputs, as it needs to transfer the strins to indices. Therefore, I add a new class for using one hot encoding as inputs. it will be extremely helpful for multi-sequence inputs and the combination inputs.