Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't multiply sequence by non-int of type 'float' #9

Open
ndt7 opened this issue Jul 11, 2022 · 1 comment
Open

can't multiply sequence by non-int of type 'float' #9

ndt7 opened this issue Jul 11, 2022 · 1 comment

Comments

@ndt7
Copy link

ndt7 commented Jul 11, 2022

I get this error when running on Colab, please help me. Thanks

can't multiply sequence by non-int of type 'float'

@mainjaylai
Copy link

in data.py file, you can add following code to solve this problem

segs_size = max(1, num_per_dga / len(ramdo_lengths))
segs_size = int(segs_size) # add this code

hope it works for you😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants