question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dataset doesn't have camera view lable

See original GitHub issue

My dataset doesn’t have camera lable. In order to satisfy the format of dataset, I assume all of them are from same camera (camera 0). And no problem happened during training. But error happened at evaluating, File "examples/softmax_loss.py", line 150, in main top1 = evaluator.evaluate(val_loader, dataset.val, dataset.val) File "/workspace/gjc/anaconda2/envs/py35/lib/python3.5/site-packages/open_reid-0.2.0-py3.5.egg/reid/evaluators.py", line 120, in evaluate File "/workspace/gjc/anaconda2/envs/py35/lib/python3.5/site-packages/open_reid-0.2.0-py3.5.egg/reid/evaluators.py", line 98, in evaluate_all File "/workspace/gjc/anaconda2/envs/py35/lib/python3.5/site-packages/open_reid-0.2.0-py3.5.egg/reid/evaluators.py", line 98, in <dictcomp> File "/workspace/gjc/anaconda2/envs/py35/lib/python3.5/site-packages/open_reid-0.2.0-py3.5.egg/reid/evaluation_metrics/ranking.py", line 78, in cmc RuntimeError: No valid query To simplify, I have deleted code about mAP and cuhk03.(Same error happened when I haven’t modified code) Since I don’t have camera lable, how should I evaluate the model in such situation? May anyone help me? @Cysu @zydou

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
aytackanacicommented, Jan 15, 2018

I was going to as the same question. There are datasets like VehicleID where images don’t have camera labels.

For evaluation, images from the test set, are randomly split into query and gallery. (They are assumed to come from different cameras). For such a scenario would the current code require significant changes? Maybe there can be a new “cmc_config” for such a setting?

0reactions
Cysucommented, Feb 3, 2018

@hustmf @aytackanaci You may try to change [this] line to

separate_camera_set=False

and see if that helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FFHQ dataset camera pose labeling · Issue #18 · NVlabs/eg3d
"We use an off-the-shelf face detection and pose-extraction pipeline to both identify the face region and label the image with a pose".
Read more >
Data Labeling: The Authoritative Guide - Scale AI
Data labeling is one of the most critical activities in the machine learning lifecycle, though it is often overlooked in its importance.
Read more >
How to Perform Data Labeling for Camera and Lidar Sensor ...
Data labeling with the Ground Truth Labeler app enables you to label camera and lidar data. Using the app interface, you can label...
Read more >
Capturing and Saving a Photo — Sample Apps Tutorials
Your data model is patiently awaiting newly-captured photos. Just as for preview images, it has a dedicated task for handling the captured photo...
Read more >
How to Label Images for Computer Vision Models
This guide walks through tactics to ensure your dataset is as high quality as possible for computer vision tasks.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found