Skip to content
New issue

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

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

Already on GitHub? # to your account

Logger index error out of range #238

Open
srilekha1993 opened this issue Jun 26, 2024 · 0 comments
Open

Logger index error out of range #238

srilekha1993 opened this issue Jun 26, 2024 · 0 comments

Comments

@srilekha1993
Copy link

Hi,
As I am trying to run the code on pvcq, getting the error shown below are related to logger where my environment has torch which is intel compatible. Can anyone help me out toresolve this error?
Traceback (most recent call last):
File "/nfs/work05/srilekhax/miniconda3/envs/diffdock_xpu_rec/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/nfs/work05/srilekhax/miniconda3/envs/diffdock_xpu_rec/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/nfs/work05/srilekhax/Diffdock_1.1.2_mod_xpu/Diffdock_1.1.2_mod/inference.py", line 320, in
main(_args)
File "/nfs/work05/srilekhax/Diffdock_1.1.2_mod_xpu/Diffdock_1.1.2_mod/inference.py", line 109, in main
configure_logger(args.loglevel)
File "/nfs/work05/srilekhax/Diffdock_1.1.2_mod_xpu/Diffdock_1.1.2_mod/utils/logging_utils.py", line 38, in configure_logger
remove_all_handlers(logger)
File "/nfs/work05/srilekhax/Diffdock_1.1.2_mod_xpu/Diffdock_1.1.2_mod/utils/logging_utils.py", line 23, in remove_all_handlers
logger.removeHandler(logger.handlers[0])
IndexError: list index out of range
printing _args Namespace(config=<_io.TextIOWrapper name='default_inference_args.yaml' mode='r' encoding='UTF-8'>, protein_ligand_csv='output.csv', complex_name=None, protein_path=None, protein_sequence=None, ligand_description='CCCCC(NC(=O)CCC(=O)O)P(=O)(O)OC1=CC=CC=C1', loglevel='WARNING', out_dir='results_10_float32/user_predictions_small', save_visualisation=False, samples_per_complex=10, model_dir=None, ckpt='best_ema_inference_epoch_model.pt', confidence_model_dir=None, confidence_ckpt='best_model.pt', batch_size=10, no_final_step_noise=True, inference_steps=20, actual_steps=None, old_score_model=False, old_confidence_model=True, initial_noise_std_proportion=-1.0, choose_residue=False, temp_sampling_tr=1.0, temp_psi_tr=0.0, temp_sigma_data_tr=0.5, temp_sampling_rot=1.0, temp_psi_rot=0.0, temp_sigma_data_rot=0.5, temp_sampling_tor=1.0, temp_psi_tor=0.0, temp_sigma_data_tor=0.5, gnina_minimize=False, gnina_path='gnina', gnina_log_file='gnina_log.txt', gnina_full_dock=False, gnina_autobox_add=4.0, gnina_poses_to_optimize=1)
loglevel WARNING

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

No branches or pull requests

1 participant