Attribute Error when using Random Positions Sampler

22 views
Skip to first unread message

Vibha R

unread,
Dec 27, 2020, 4:36:09 PM12/27/20
to Selene (sequence-based deep learning package)
Hello,
I keep running into this error when I use the Random Positions sampler. I don't run into this when using the interval sampler with my data. But I get this error even if I use the tutorial data and model with the Random Position Sampler. I'm not sure how to avoid this issue. 

AttributeError: 'bool' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead.


chen.ka...@gmail.com

unread,
Dec 28, 2020, 12:03:39 PM12/28/20
to Selene (sequence-based deep learning package)
Hi, thanks for your post.

Would you be able to repost this to our Github issues? https://github.com/FunctionLab/selene/issues

It sounds like it may be a bug. Could you post the full stack trace (with line numbers) in the Github issue when you create it? Thanks so much!
Kathy

Reply all
Reply to author
Forward
0 new messages