megvii-research / Iter-E2EDET

Official implementation of the paper "Progressive End-to-End Object Detection in Crowded Scenes"
MIT License
88 stars 8 forks source link

No module named 'common' #21

Open PeiChiChen opened 1 year ago

PeiChiChen commented 1 year ago

Hi, I run this file 'eval_result.py' and got image Please what I should do, thank you!

yexiguafuqihao commented 1 year ago

The common.py resides in the ../../../utils directory and has already been added to the runtime path by default. Maybe you can add the line of code 'from config import config' into your script.

PeiChiChen commented 1 year ago

'from config import config' has been added in eval_results.py. So it seems not the reason. image

yexiguafuqihao commented 1 year ago

cp -r ../../../utils/common.py . vim common.py from config import config

PeiChiChen commented 1 year ago

Sorry but now I got another error. image By the way, in which folder should I be when running 'eval_results.py' ? Maybe the folder is the reason?