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

AttributeError: type object 'Genome' has no attribute '_initialized' #2

Open
eyalbenda opened this issue Aug 9, 2021 · 0 comments
Open

Comments

@eyalbenda
Copy link

eyalbenda commented Aug 9, 2021

I'm trying to run the C. elegans example but it crashes after a long runtime with the following error:

`python DeepArk.py predict --checkpoint-file data/caenorhabditis_elegans.pth.tar --input-file examples/caenorhabditis_elegans_prediction_example.fasta --output-dir ./ --output-format 'tsv' --batch-size '64' --cuda

Traceback (most recent call last):
File "DeepArk.py", line 271, in
cli(obj=dict())
File "/home/lambda/anaconda3/envs/DeepArk/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/lambda/anaconda3/envs/DeepArk/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/lambda/anaconda3/envs/DeepArk/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/lambda/anaconda3/envs/DeepArk/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/lambda/anaconda3/envs/DeepArk/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/lambda/anaconda3/envs/DeepArk/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "DeepArk.py", line 122, in predict
reference_sequence=genome)
File "/home/lambda/anaconda3/envs/DeepArk/lib/python3.6/site-packages/selene_sdk/predict/model_predict.py", line 176, in init
if not self.reference_sequence._initialized:
AttributeError: type object 'Genome' has no attribute '_initialized'
`

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

1 participant