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
使用示例代码执行后,报
Traceback (most recent call last):
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 454, in register_modelhub_repo
import_module_from_model_dir(model_dir)
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 399, in import_module_from_model_dir
importlib.import_module(submodule)
File "E:\anaconda\anaconda\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "E:\pyCharm\project\aiBySky\nlp\Sunsimiao.py", line 7, in
pipe = pipeline(task=Tasks.text_generation, model='AI-ModelScope/Sunsimiao', model_revision='v1.0.0')
File "E:\anaconda\anaconda\lib\site-packages\modelscope\pipelines\builder.py", line 135, in pipeline
register_modelhub_repo(model, cfg.get('allow_remote', False))
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 454, in register_modelhub_repo
import_module_from_model_dir(model_dir)
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 399, in import_module_from_model_dir
importlib.import_module(submodule)
File "E:\anaconda\anaconda\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 981, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'Sunsimiao.configuration_baichuan'; 'Sunsimiao' is not a package
The text was updated successfully, but these errors were encountered:
使用示例代码执行后,报
Traceback (most recent call last):
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 454, in register_modelhub_repo
import_module_from_model_dir(model_dir)
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 399, in import_module_from_model_dir
importlib.import_module(submodule)
File "E:\anaconda\anaconda\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "E:\pyCharm\project\aiBySky\nlp\Sunsimiao.py", line 7, in
pipe = pipeline(task=Tasks.text_generation, model='AI-ModelScope/Sunsimiao', model_revision='v1.0.0')
File "E:\anaconda\anaconda\lib\site-packages\modelscope\pipelines\builder.py", line 135, in pipeline
register_modelhub_repo(model, cfg.get('allow_remote', False))
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 454, in register_modelhub_repo
import_module_from_model_dir(model_dir)
File "E:\anaconda\anaconda\lib\site-packages\modelscope\utils\plugins.py", line 399, in import_module_from_model_dir
importlib.import_module(submodule)
File "E:\anaconda\anaconda\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 981, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'Sunsimiao.configuration_baichuan'; 'Sunsimiao' is not a package
The text was updated successfully, but these errors were encountered: