Closed hitz02 closed 2 years ago
Heelo, I am working on testing the examples, can you show me the stacktrace to locate the error reason?
KeyError Traceback (most recent call last) /usr/local/lib/python3.7/dist-packages/pyabsa/functional/config/config_manager.py in getattribute(self, arg_name) 60 try: ---> 61 value = super().getattribute('args')[arg_name] 62 args_call_count = super().getattribute('args_call_count')
KeyError: 'pretrained_bert_name'
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last) 5 frames
OK, this is fixed just now in 1.0.7, which is cause by a rename of a parameter.
I've tested all training and inference examples (passed in all situations), so I close this issue. But any error found could be reported, I would solve the problems as soon as possible.
Error in running aspect extractor training example -
aspect_extractor = Trainer(config=config, dataset=tshirt, from_checkpoint=checkpoint_path, checkpoint_save_mode=1, auto_device=True )