Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

PermissionError: [Errno 13] Permission denied: '.so3_omegas_array4.npy' #273

Open
Mary517-collab opened this issue Feb 9, 2025 · 0 comments

Comments

@Mary517-collab
Copy link

Mary517-collab commented Feb 9, 2025

Hi, I have the following error when running the inference using docker container. Does anyone know how to fix it? Many thanks.

/home/appuser/DiffDock/utils/so3.py:59: RuntimeWarning: invalid value encountered in sqrt
_exp_score_norms = np.sqrt(np.sum(_score_norms**2 * _pdf_vals, axis=1) / np.sum(_pdf_vals, axis=1) / np.pi)
Traceback (most recent call last):
File "/home/appuser/micromamba/envs/diffdock/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/appuser/micromamba/envs/diffdock/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/appuser/DiffDock/inference.py", line 28, in
import utils.utils
File "/home/appuser/DiffDock/utils/utils.py", line 17, in
from models.aa_model import AAModel
File "/home/appuser/DiffDock/models/aa_model.py", line 13, in
from utils import so3, torus
File "/home/appuser/DiffDock/utils/so3.py", line 61, in
np.save('.so3_omegas_array4.npy', _omegas_array)
File "/home/appuser/micromamba/envs/diffdock/lib/python3.9/site-packages/numpy/lib/npyio.py", line 542, in save
file_ctx = open(file, "wb")
PermissionError: [Errno 13] Permission denied: '.so3_omegas_array4.npy'

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

No branches or pull requests

1 participant