Traceback (most recent call last):
File "/Users//NLP/Transformer-based-pretrained-model-for-event-extraction/migration_model/train.py", line 13, in
from model import Net
File "/Users//NLP/Transformer-based-pretrained-model-for-event-extraction/migration_model/model.py", line 16, in
from DataLoadAndTrain import idx2trigger, argument2idx
File "/Users//NLP/Transformer-based-pretrained-model-for-event-extraction/migration_model/DataLoadAndTrain.py", line 12, in
from model import Net
ImportError: cannot import name 'Net'
这写的也没问题啊,怎么会报错呢??
Traceback (most recent call last): File "/Users//NLP/Transformer-based-pretrained-model-for-event-extraction/migration_model/train.py", line 13, in
from model import Net
File "/Users//NLP/Transformer-based-pretrained-model-for-event-extraction/migration_model/model.py", line 16, in
from DataLoadAndTrain import idx2trigger, argument2idx
File "/Users//NLP/Transformer-based-pretrained-model-for-event-extraction/migration_model/DataLoadAndTrain.py", line 12, in
from model import Net
ImportError: cannot import name 'Net'
这写的也没问题啊,怎么会报错呢??