-
Notifications
You must be signed in to change notification settings - Fork 86
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
How to generate train.labelmap.tsv ? #29
Comments
Sorry for the confusion. At this time, you could use labelmap.json to replace train.labelmap.tsv.
Basicly, this file maps class names to index. The "predicate_to_idx" and "attribute_to_idx" fields are optional if you only need to train detector. Thanks |
so does that mean I should just copy labelmap.json to train.labelmap.tsv? Or how to change the code? |
in train.yaml file, you could fill in like below,
Then you replace this part with your train.yaml
|
@hanxiaotian Thanks. |
@hanxiaotian why I run train_net.py, I get the error:
What does it mean? And how to set meters? Thanks. |
@hanxiaotian And is the tsv file format right? I try to run train_net.py, but I found that the annotions read from tsv file is:
but in od_tsv.py, the function get_target_from_annotations, there is a line:
but the annotaions is a list, not a dict, so there is no key named "objects", did I miss something? Thanks. @hanxiaotian @pzzhang |
I meet the same question. Could you tell me do you solve it? |
Could you please tell me how to generate train.labelmap.tsv ? It seems that there is no code about it in the tsv_demo.py. @hanxiaotian Thanks.
The text was updated successfully, but these errors were encountered: