When executing the train file, I encounter the following error. Please help me.
Traceback (most recent call last):
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\Asus\PycharmProjects\pythonProject3\EESRGAN-master (1)\EESRGAN-master\detection\engine.py", line 9, in
from .coco_utils import get_coco_api_from_dataset, get_coco_api_from_dataset_base
ImportError: attempted relative import with no known parent package
When executing the train file, I encounter the following error. Please help me.
Traceback (most recent call last): File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\Asus\PycharmProjects\pythonProject3\EESRGAN-master (1)\EESRGAN-master\detection\engine.py", line 9, in
from .coco_utils import get_coco_api_from_dataset, get_coco_api_from_dataset_base
ImportError: attempted relative import with no known parent package