You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: