Closed CUCldyyyyy closed 5 months ago
It seems a permission error and i totally follow your guide to prepare the structure and data.Following is the whole bug report :
Traceback (most recent call last):
File "/home/LiDongyang/anaconda3/envs/llamavid/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1099, in _get_module
return importlib.import_module("." + module_name, self.name)
File "/home/LiDongyang/anaconda3/envs/llamavid/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/LiDongyang/LDY/LLaMA-VID/llamavid/eval/model_msvd_qa.py", line 4, in
***Looking forward to your reply!
Hi, api_key
and api_base
indicate the KEY and BASE (optional) of GPT3.5 that are used to evaluate the results. And the error seems to be the user does not have enough permission to load the package in this environment. Maybe you can try to reset permission or check whether have permission to load /root/libcudart.so
.
I see,when I change to root and rerun pip and some missing packages can be installed.Thanks again!
hey!your work impressed me a lot and i wanna to run inference on MSVD-QA dataset following your guide,and first i do not sure about the effect of params 'api_key' and 'api_base',so i just omit them and meet a problem like below:
raise RuntimeError( RuntimeError: Failed to import transformers.models.llama.modeling_llama because of the following error (look up to see its traceback): [Errno 13] Permission denied: '//root/libcudart.so'