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
I followed the instructions in the README exactly, but I'm getting this error when running "python run.py --train=True --dataset=NYT". Can anyone tell me how to fix it? I appreciate any help! My environment has been modified according to everyone's suggestions.
#84
Closed
rabbitlingli opened this issue
Aug 4, 2024
· 1 comment
(CasRel) yons@jmw-lab-server:~/lilinglicode/CasRel$ python run.py ---train=True --dataset=NYT
Using TensorFlow backend.
Traceback (most recent call last):
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 3, in
from model import E2EModel, Evaluate
File "/home/yons/lilinglicode/CasRel/model.py", line 2, in
from keras.layers import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/init.py", line 3, in
from . import utils
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/utils/init.py", line 6, in
from . import conv_utils
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/utils/conv_utils.py", line 9, in
from .. import backend as K
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/backend/init.py", line 1, in
from .load_backend import epsilon
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/backend/load_backend.py", line 89, in
from .tensorflow_backend import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 5, in
import tensorflow as tf
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
(CasRel) yons@jmw-lab-server:~/lilinglicode/CasRel$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
My understanding is whether my CUDA version being 11.4 might be causing issues since others have suggested using CUDA 10.0.??
The text was updated successfully, but these errors were encountered:
(CasRel) yons@jmw-lab-server:~/lilinglicode/CasRel$
python run.py ---train=True --dataset=NYT
Using TensorFlow backend.
Traceback (most recent call last):
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 3, in
from model import E2EModel, Evaluate
File "/home/yons/lilinglicode/CasRel/model.py", line 2, in
from keras.layers import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/init.py", line 3, in
from . import utils
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/utils/init.py", line 6, in
from . import conv_utils
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/utils/conv_utils.py", line 9, in
from .. import backend as K
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/backend/init.py", line 1, in
from .load_backend import epsilon
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/backend/load_backend.py", line 89, in
from .tensorflow_backend import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 5, in
import tensorflow as tf
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/home/yons/anaconda3/envs/CasRel/lib/python3.7/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
(CasRel) yons@jmw-lab-server:~/lilinglicode/CasRel$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
My understanding is whether my CUDA version being 11.4 might be causing issues since others have suggested using CUDA 10.0.??
The text was updated successfully, but these errors were encountered: