(minigpt4) D:\MiniGPT-4>python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu-id 0
Traceback (most recent call last):
File "D:\MiniGPT-4\demo.py", line 10, in
from minigpt4.common.config import Config
File "D:\MiniGPT-4\minigpt4__init.py", line 15, in
from minigpt4.datasets.builders import *
File "D:\MiniGPT-4\minigpt4\datasets\builders__init.py", line 8, in
from minigpt4.datasets.builders.base_dataset_builder import load_dataset_config
File "D:\MiniGPT-4\minigpt4\datasets\builders\base_dataset_builder.py", line 18, in
import minigpt4.common.utils as utils
File "D:\MiniGPT-4\minigpt4\common\utils.py", line 24, in
from iopath.common.download import download
File "D:\anaconda3\envs\minigpt4\lib\site-packages\iopath__init__.py", line 3, in
from iopath.common import file_lock, get_cache_dir, LazyPath, PathManager
File "D:\anaconda3\envs\minigpt4\lib\site-packages\iopath\common__init__.py", line 3, in
from iopath.common.file_io import file_lock, get_cache_dir, LazyPath, PathManager
File "D:\anaconda3\envs\minigpt4\lib\site-packages\iopath\common\file_io.py", line 32, in
import portalocker # type: ignore
File "D:\anaconda3\envs\minigpt4\lib\site-packages\portalocker\init.py", line 4, in
from . import portalocker
File "D:\anaconda3\envs\minigpt4\lib\site-packages\portalocker\portalocker.py", line 16, in
import win32.lib.pywintypes as pywintypes
File "C:\Python27\Lib\site-packages\win32\lib\pywintypes.py", line 124, in import_pywin32_system_module("pywintypes", globals())
File "C:\Python27\Lib\site-packages\win32\lib\pywintypes.py", line 64, in __import_pywin32_system_module__
import _win32sysloader
ImportError: DLL load failed while importing _win32sysloader: 找不到指定的模块。
(minigpt4) D:\MiniGPT-4>python demo.py --cfg-path eval_configs/minigpt4_eval.yaml --gpu-id 0 Traceback (most recent call last): File "D:\MiniGPT-4\demo.py", line 10, in
from minigpt4.common.config import Config
File "D:\MiniGPT-4\minigpt4__init.py", line 15, in
from minigpt4.datasets.builders import *
File "D:\MiniGPT-4\minigpt4\datasets\builders__init.py", line 8, in
from minigpt4.datasets.builders.base_dataset_builder import load_dataset_config
File "D:\MiniGPT-4\minigpt4\datasets\builders\base_dataset_builder.py", line 18, in
import minigpt4.common.utils as utils
File "D:\MiniGPT-4\minigpt4\common\utils.py", line 24, in
from iopath.common.download import download
File "D:\anaconda3\envs\minigpt4\lib\site-packages\iopath__init__.py", line 3, in
from iopath.common import file_lock, get_cache_dir, LazyPath, PathManager
File "D:\anaconda3\envs\minigpt4\lib\site-packages\iopath\common__init__.py", line 3, in
from iopath.common.file_io import file_lock, get_cache_dir, LazyPath, PathManager
File "D:\anaconda3\envs\minigpt4\lib\site-packages\iopath\common\file_io.py", line 32, in
import portalocker # type: ignore
File "D:\anaconda3\envs\minigpt4\lib\site-packages\portalocker\ init.py", line 4, in
from . import portalocker
File "D:\anaconda3\envs\minigpt4\lib\site-packages\portalocker\portalocker.py", line 16, in
import win32.lib.pywintypes as pywintypes
File "C:\Python27\Lib\site-packages\win32\lib\pywintypes.py", line 124, in
import_pywin32_system_module ("pywintypes", globals())
File "C:\Python27\Lib\site-packages\win32\lib\pywintypes.py", line 64, in __import_pywin32_system_module__
import _win32sysloader
ImportError: DLL load failed while importing _win32sysloader: 找不到指定的模块。