Closed WeiLi9811 closed 2 years ago
Hi. Please remove integrated_datasets and run again. If problem exists still, Please tell me
Do you use pyabsa==1.5.3? This version should handle the exception in code: https://github.com/yangheng95/PyABSA/blob/ba184f5ff9dacc4824f6e57338c82fbc14084507/pyabsa/utils/file_utils.py#L298
BTW, Please do not truncate the output (just paste all output in your console) while showing a problem, as any output could be a hint in solving problem
Do you use pyabsa==1.5.3? This version should handle the exception in code:
BTW, Please do not truncate the output (just paste all output in your console) while showing a problem, as any output could be a hint in solving problem
trying both of your suggestions now, still waiting for the output. BTW, i feel like the updated version of pyabsaare becoming slower and slower, don't know if its mine illusion or not, seems take longer to load pyabsa, train the checkpoint and reload the checkpoint.
Yes, I sorry I introduced a ensemble module which made the preprocessing too long, I will optimize later. You can use cache_dataset=True to avoid preprocessing dataset everytime
Do you have an estimate about how solwer compared to early version, and which model you make comparison?
Do you have an estimate about how solwer compared to early version, and which model you make comparison?
earlier i used version 1.2.13, tried the atepc demos, model FAST_LCFS_ATEPC and checkpoint"english". i didn't test on time precisely, but according to personal feelings, the latest version are becoming 2 times slower than before.
Do you addressed above problem?
I upload a version, you can update via pip install pyabsa==1.5.4rc0
and tell me if it works.
Do you addressed above problem?
I upload a version, you can update via
pip install pyabsa==1.5.4rc0
and tell me if it works.
thanks! still loading the package, i'll keep you updated when i tried the above solutions.
I upload a version, you can update via
pip install pyabsa==1.5.4rc0
and tell me if it works.
a new error occured: here is my code and the full traceback: `import pyabsa
from pyabsa.functional import ATEPCModelList from pyabsa.functional import Trainer, ATEPCTrainer from pyabsa.functional import ABSADatasetList from pyabsa.functional import ATEPCConfigManager
config = ATEPCConfigManager.get_atepc_config_english() config.model = ATEPCModelList.FAST_LCFS_ATEPC config.evaluate_begin = 5 config.num_epoch = 6 config.log_step = 1000
yelp = "C:/Users/Li Wei/ABSADatasetList.SemEval/apc_datasets/SemEval/yelprestaurant"
aspect_extractor = Trainer(config=config, dataset=yelp, checkpoint_save_mode=1, auto_device=True ).load_trained_model()`
traceback as follow: TypeError Traceback (most recent call last)
This is because your integrated_dataset folder doesnt have a init.py file, you can check why this file is missing
And It seems the catch bolck doesnt work, can you debug it and see why?
Hi, yangheng! the project used to worked fine on my computer, but after installing the latest version of pyabsa, indexerror inccurs as below:
yelp = "C:/Users/Li Wei/integrated_datasets/apc_datasets/SemEval/yelprestaurant" aspect_extractor = Trainer(config=config, dataset=yelp, checkpoint_save_mode=1, auto_device=True ).load_trained_model()
and indexerror related to above code is: `IndexError Traceback (most recent call last)