CRSLab icon indicating copy to clipboard operation
CRSLab copied to clipboard

python run_crslab.py --config config/crs/kgsf/tgredial.yaml

Open lling-2021 opened this issue 2 years ago • 2 comments

Traceback (most recent call last): File "run_crslab.py", line 47, in run_crslab(config, args.save_data, args.restore_data, args.save_system, args.restore_system, args.interact, File "/home//project/crs/CRSLab/crslab/quick_start/quick_start.py", line 73, in run_crslab CRS.fit() File "/home//project/crs/CRSLab/crslab/system/kgsf.py", line 186, in fit self.train_recommender() File "/home//project/crs/CRSLab/crslab/system/kgsf.py", line 144, in train_recommender metric = self.evaluator.rec_metrics['hit@1'] + self.evaluator.rec_metrics['hit@50'] File "/home//project/crs/CRSLab/crslab/evaluator/metrics/base.py", line 214, in getitem return self.get(item) File "/home/**/project/crs/CRSLab/crslab/evaluator/metrics/base.py", line 211, in get raise RuntimeError: No active exception to reraise

lling-2021 avatar Feb 17 '22 02:02 lling-2021

Hi, I'm getting the same error message when running "python run_crslab.py --config config/crs/tgredial/tgredial.yaml". The dataset and metrics are being set to empty and raising this errror. Please advise.

nageswarib avatar Feb 18 '22 00:02 nageswarib

I'm getting the same error message when running "python run_crslab.py --config config/crs/redial/tgredial.yaml --g 0". :(

shirryliu avatar Apr 13 '22 01:04 shirryliu

Thank you for your feedback. I've fixed the bug now, you can try again.

txy77 avatar Oct 07 '22 03:10 txy77