Layne-Huang / PMDM

MIT License
109 stars 23 forks source link

AttributeError: 'Namespace' object has no attribute 'savedir' #37

Closed maple0leaves closed 1 month ago

maple0leaves commented 1 month ago

I use this command : python -u sample_for_pdb.py --ckpt ./500.pt --pdb_path 3WZE/pocket.pdb --num_atom 32 --num_samples 100 --sampling_type generalized And then : Traceback (most recent call last): File "/vdisk/zzl/code/PMDM/sample_for_pdb.py", line 312, in save_sdf_flag = args.savedir AttributeError: 'Namespace' object has no attribute 'savedir'

I find 'ages' does not have 'savedir' , how should I fix it?Thank you very much !

maple0leaves commented 1 month ago

Thank you,I solved it save_sdf_flag = args.savedir ===>save_sdf_flag = args.save_sdf