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
ImportError Traceback (most recent call last)
in
----> 1 from pyabsa import train_apc, apc_config_handler, ABSADatasetList, APCCheckpointManager
2 from pyabsa.model_utils import APCModelList
3
4 save_path = 'state_dict'
5 apc_param_dict_english = apc_config_handler.get_apc_param_dict_english()
~/anaconda3/envs/Py36CUDA110/lib/python3.6/site-packages/pyabsa/init.py in
13 from update_checker import UpdateChecker
14
---> 15 from pyabsa.config.apc_config import apc_config_handler
16 from pyabsa.config.atepc_config import atepc_config_handler
17 from pyabsa.config.classification_config import classification_config_handler
~/anaconda3/envs/Py36CUDA110/lib/python3.6/site-packages/pyabsa/config/apc_config/apc_config_handler.py in
10 from pyabsa.tasks.apc.bert import TNet_LF_BERT
11 from pyabsa.tasks.apc.glove import TNet_LF
---> 12 from pyabsa.tasks.apc.models import BERT_SPC
13
14 # if you find the optimal param set of some situation, e.g., some model on some datasets
ImportError: cannot import name 'BERT_SPC'
The text was updated successfully, but these errors were encountered:
It's a strange error, I assume this error was introdcued while I pack the code, now I repack and upload a fix patch 0.9.2.1, you can try it and tell me if the problem continues. Thanks!
It's a strange error, I assume this error was introdcued while I pack the code, now I repack and upload a fix patch 0.9.2.1, you can try it and tell me if the problem continues. Thanks!
Thank you for your project and timely reply. The problem was fixed in Patch 0.9.2.1.
ImportError Traceback (most recent call last)
in
----> 1 from pyabsa import train_apc, apc_config_handler, ABSADatasetList, APCCheckpointManager
2 from pyabsa.model_utils import APCModelList
3
4 save_path = 'state_dict'
5 apc_param_dict_english = apc_config_handler.get_apc_param_dict_english()
~/anaconda3/envs/Py36CUDA110/lib/python3.6/site-packages/pyabsa/init.py in
13 from update_checker import UpdateChecker
14
---> 15 from pyabsa.config.apc_config import apc_config_handler
16 from pyabsa.config.atepc_config import atepc_config_handler
17 from pyabsa.config.classification_config import classification_config_handler
~/anaconda3/envs/Py36CUDA110/lib/python3.6/site-packages/pyabsa/config/apc_config/apc_config_handler.py in
10 from pyabsa.tasks.apc.bert import TNet_LF_BERT
11 from pyabsa.tasks.apc.glove import TNet_LF
---> 12 from pyabsa.tasks.apc.models import BERT_SPC
13
14 # if you find the optimal param set of some situation, e.g., some model on some datasets
ImportError: cannot import name 'BERT_SPC'
The text was updated successfully, but these errors were encountered: