-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi, I was trying to predict the chromatin profiles by running sh 1_sequence_prediction.sh $input_filepath $genome_version $outdir --cuda but got the following errors. Can anyone helps for this? Thanks in advance.
Input argments: test.vcf test hg19 --cuda
use_cuda: True
Setting random seed = 999
Traceback (most recent call last):
File "1_sequence_prediction.py", line 73, in
parse_configs_and_run(configs)
File "/home/users/hmguo/.local/lib/python3.6/site-packages/selene_sdk/utils/config_utils.py", line 351, in parse_configs_and_run
execute(operations, configs, current_run_output_dir)
File "/home/users/hmguo/.local/lib/python3.6/site-packages/selene_sdk/utils/config_utils.py", line 251, in execute
analyze_seqs.get_predictions(**predict_info)
File "/home/users/hmguo/.local/lib/python3.6/site-packages/selene_sdk/predict/model_predict.py", line 595, in get_predictions
strand_index=strand_index)
File "/home/users/hmguo/.local/lib/python3.6/site-packages/selene_sdk/predict/model_predict.py", line 438, in get_predictions_for_bed_file
sequences = sequences[:i % self.batch_size + 1, :, :]
UnboundLocalError: local variable 'i' referenced before assignment