Traceback (most recent call last):


 "/Users/luthfielfian/avatarify/afy/utils.py", line 24, in __del__

self.file.close()
AttributeError: 'Tee' object has no attribute 'file'

Traceback (most recent call last):


 "train_net.py", line 138, in <module>

main()


 "train_net.py", line 134, in main

results = evaluate(cfg, trainer)


 "train_net.py", line 113, in evaluate

results = inference_on_dataset(trainer.model, val_loader, evaluator)


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/evaluator.py", line 176, in inference_on_dataset

results = evaluator.evaluate()


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/coco_evaluation.py", line 148, in evaluate

self._eval_predictions(set(self._tasks), predictions)


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/coco_evaluation.py", line 191, in _eval_predictions

if len(coco_results) > 0


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/coco_evaluation.py", line 519, in _evaluate_predictions_on_coco

coco_eval.evaluate()


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/fast_eval_api.py", line 73, in evaluate

for imgId in p.imgIds


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/fast_eval_api.py", line 73, in <listcomp>

for imgId in p.imgIds


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/fast_eval_api.py", line 72, in <listcomp>

[convert_instances_to_cpp(self._gts[imgId, catId]) for catId in p.catIds]


 "/home/minhkv/tienpv_DO_NOT_REMOVE/detectron2/detectron2/evaluation/fast_eval_api.py", line 60, in convert_instances_to_cpp

instance_cpp = _C.InstanceAnnotation(
AttributeError: module 'detectron2._C' has no attribute 'InstanceAnnotation'
