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

Detection competition - unable to submit predictions to CodaLab #9

Closed
Britefury opened this issue Jul 19, 2018 · 4 comments
Closed

Comments

@Britefury
Copy link
Contributor

Hi,

I've been having difficult submitting to the detection competition. It appears that my text file format is incorrect, as I get the following error:

Traceback (most recent call last):
  File "/tmp/codalab/tmpxfH0zT/run/program/evaluate.py", line 438, in 
    detection_evaluation(truth_file, source_file, adaptation_file, output_file)
  File "/tmp/codalab/tmpxfH0zT/run/program/evaluate.py", line 363, in detection_evaluation
    for line in f.read().splitlines()
  File "/tmp/codalab/tmpxfH0zT/run/program/evaluate.py", line 21, in chunks
    raise RuntimeError("Sequence does not split into {k}, because last elem has {elem.index(uniq)} left")
RuntimeError: Sequence does not split into {k}, because last elem has {elem.index(uniq)} left

Would it be possible for you guys to either:

  • provide an example submission file that the server can handle
  • provide code to generate a valid submission file
  • provide the source code of 'evaluate.py' that runs on the server
  • modify the evaluation code so that it reports more helpful error messages

Thanks! :)

@Britefury Britefury changed the title Detection competition submission process Detection competition - cannot successfully submit predictions Jul 19, 2018
@Britefury Britefury changed the title Detection competition - cannot successfully submit predictions Detection competition - unable to submit predictions to CodaLab Jul 19, 2018
@neelakaushik
Copy link
Collaborator

Hi,
Sorry you have had trouble submitting! We have uploaded the evaluation code here as well as the ground truth file for validation here and a sample predictions file here. If you are still having trouble submitting, please feel free to share your submission file with us and maybe we can try to figure out the issue from there.

@Britefury
Copy link
Contributor Author

Thanks!
Figured out my mistake.

@MInner
Copy link
Collaborator

MInner commented Jul 26, 2018

Just to clarify, *.pkl file is just a "precomputed cached" bbox data inferred from gt files and images provided previously. It should be portable, but I am not 100% sure. Code in main github repo generates it automatically from gt files.

@Britefury
Copy link
Contributor Author

Referring to the other issue (#10) the pkl file loads fine using the pickle module. The bbox values in the pkl file are scaled when compared to those in coco17-val.txt.

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

3 participants