Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

results.pkl is empty #156

Open
hytim opened this issue Apr 28, 2022 · 1 comment
Open

results.pkl is empty #156

hytim opened this issue Apr 28, 2022 · 1 comment

Comments

@hytim
Copy link

hytim commented Apr 28, 2022

I run the inference command below

python tools/test.py configs/ReDet/ReDet_re50_refpn_1x_dota15.py     work_dirs/ReDet_re50_refpn_1x_dota15/ReDet_re50_refpn_1x_dota15-7f2d6dda.pth --out work_dirs/ReDet_re50_refpn_1x_dota15/results.pkl

The output is as follows:

completed: 0, elapsed: 0s
writing results to work_dirs/ReDet_re50_refpn_1x_dota15/results.pkl

However, the results.pkl is empty when I load the file.

My test file is in ReDet/data/dota15_1024/test1024/ .

Thanks very much if someone can help me.

@hytim
Copy link
Author

hytim commented Apr 28, 2022

I further debug the test.py. The problem may result from len(data_loader) == 0.
I don't know what leads to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant