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 "C:/Users/Dell/Desktop/medical_knowledge_graph_app-master-master/med_kg/MedModel/chatbot_graph.py", line 8, in
from question_classifier import *
File "C:\Users\Dell\Desktop\medical_knowledge_graph_app-master-master\med_kg\MedModel\question_classifier.py", line 9, in
from util.nlp_ner import el
File "C:\Users\Dell\Desktop\medical_knowledge_graph_app-master-master\med_kg\util\nlp_ner.py", line 2, in
from sentence_transformers import SentenceTransformer, util
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers_init_.py", line 3, in
from .datasets import SentencesDataset, ParallelSentencesDataset
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\datasets_init_.py", line 3, in
from .ParallelSentencesDataset import ParallelSentencesDataset
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\datasets\ParallelSentencesDataset.py", line 4, in
from .. import SentenceTransformer
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\SentenceTransformer.py", line 33, in
class SentenceTransformer(nn.Sequential):
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\SentenceTransformer.py", line 562, in SentenceTransformer
optimizer_class: Type[Optimizer] = transformers.AdamW,
AttributeError: module 'transformers' has no attribute 'AdamW'
transformers版本都是对应的
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "C:/Users/Dell/Desktop/medical_knowledge_graph_app-master-master/med_kg/MedModel/chatbot_graph.py", line 8, in
from question_classifier import *
File "C:\Users\Dell\Desktop\medical_knowledge_graph_app-master-master\med_kg\MedModel\question_classifier.py", line 9, in
from util.nlp_ner import el
File "C:\Users\Dell\Desktop\medical_knowledge_graph_app-master-master\med_kg\util\nlp_ner.py", line 2, in
from sentence_transformers import SentenceTransformer, util
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers_init_.py", line 3, in
from .datasets import SentencesDataset, ParallelSentencesDataset
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\datasets_init_.py", line 3, in
from .ParallelSentencesDataset import ParallelSentencesDataset
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\datasets\ParallelSentencesDataset.py", line 4, in
from .. import SentenceTransformer
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\SentenceTransformer.py", line 33, in
class SentenceTransformer(nn.Sequential):
File "C:\Users\Dell.conda\envs\xt\lib\site-packages\sentence_transformers\SentenceTransformer.py", line 562, in SentenceTransformer
optimizer_class: Type[Optimizer] = transformers.AdamW,
AttributeError: module 'transformers' has no attribute 'AdamW'
transformers版本都是对应的
The text was updated successfully, but these errors were encountered: