tiejundong / FlexPose

FlexPose, a framework for AI-based flexible modeling of protein-ligand binding pose.
MIT License
47 stars 3 forks source link

Problem to dowload weights and with aromatics/symmetric compounds #6

Closed orli91 closed 10 months ago

orli91 commented 10 months ago

Thanks for the work!

I tried to download the weights for local execution, but both at command line and direct download the speed is slow (< 160 Kb/s) and fails at around 80%.

When trying the web server version, I noticed that aromatics and double-bonded in non-protein compounds tend often to violate (more or less) co-planar constraints (could be a small setting for minimization in the web server?), which is not happening in other systems such as DiffDock. Moreover, big problems occurs when docking symmetric compounds that have multi-aromatics (see the attached example). Atoms did not stay in place, as it seems that during inference the system cannot distinguish the aromatic ring to which each atom belongs to, and final things result messed up. Thanks for any support!

Marco

Input_and_server_output.zip

tiejundong commented 10 months ago

Thanks for your attention to our work.

xqh19970407 commented 10 months ago

i got an error, can you help me?

==================== Running FlexPose ==================== 2023-12-20 17:51:09,278 ERROR services.py:1363 -- Failed to start the dashboard: Failed to start the dashboard, return code 1 The last 10 lines of /tmp/ray/session_2023-12-20_17-51-06_723181_132336/logs/dashboard.log: File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 72, in import charset_normalizer as chardet # type: ignore[no-redef] File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/init.py", line 24, in from .api import from_bytes, from_fp, from_path, is_binary File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/api.py", line 5, in from .cd import ( File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/cd.py", line 14, in from .md import is_suspiciously_successive_range AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import) 2023-12-20 17:51:09,278 ERROR services.py:1364 -- Failed to start the dashboard, return code 1 The last 10 lines of /tmp/ray/session_2023-12-20_17-51-06_723181_132336/logs/dashboard.log: File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 72, in import charset_normalizer as chardet # type: ignore[no-redef] File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/init.py", line 24, in from .api import from_bytes, from_fp, from_path, is_binary File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/api.py", line 5, in from .cd import ( File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/cd.py", line 14, in from .md import is_suspiciously_successive_range AttributeError: partially initialized module 'charset_normalizer' has no attribute 'mdmypyc' (most likely due to a circular import) Traceback (most recent call last): File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/ray/_private/services.py", line 1350, in start_dashboard raise Exception(err_msg + last_log_str) Exception: Failed to start the dashboard, return code 1 The last 10 lines of /tmp/ray/session_2023-12-20_17-51-06_723181_132336/logs/dashboard.log: File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 72, in import charset_normalizer as chardet # type: ignore[no-redef] File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/init.py", line 24, in from .api import from_bytes, from_fp, from_path, is_binary File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/api.py", line 5, in from .cd import ( File "/home/xiaoqi/miniconda3/envs/diffdock2/lib/python3.8/site-packages/charset_normalizer/cd.py", line 14, in from .md import is_suspiciously_successive_range AttributeError: partially initialized module 'charset_normalizer' has no attribute 'mdmypyc' (most likely due to a circular import) 2023-12-20 17:51:09,582 INFO worker.py:1518 -- Started a local Ray instance. [2023-12-20 17:51:39,874 E 132336 132336] core_worker.cc:149: Failed to register worker 01000000ffffffffffffffffffffffffffffffffffffffffffffffff to Raylet. IOError: [RayletClient] Unable to register worker with raylet. No such file or directory

tiejundong commented 10 months ago

You can try setting prepare_data_with_multi_cpu to False to avoid processing by ray.

Besides, please do not raise irrelevant issues in other people's comments.