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

Filter logged classes #17

Open
jw3 opened this issue May 1, 2020 · 0 comments
Open

Filter logged classes #17

jw3 opened this issue May 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@jw3
Copy link
Member

jw3 commented May 1, 2020

if class_id in classes_actual.keys():
logger.info(' {:>3} {:25}{:>5}'.format(class_id, name, classes_actual[class_id]))

A regression when preserving the class id indexes was that all classes are now output in the log

$ python -m xview_lfs.yolo https://xxxx.xxxx -p -c 93
INFO:yolo:Tot Box: 46
INFO:yolo:Chips: 124
INFO:yolo:Skipped Chips: 1024
INFO:yolo:Generating xview.pbtxt
INFO:yolo:  17 class_17                     6
INFO:yolo:  18 class_18                  1515
INFO:yolo:  19 class_19                    59
INFO:yolo:  20 class_20                    16
INFO:yolo:  21 class_21                    48
INFO:yolo:  23 class_23                   107
INFO:yolo:  24 class_24                   215
INFO:yolo:  25 class_25                   114
INFO:yolo:  26 class_26                    45
INFO:yolo:  27 class_27                   147
INFO:yolo:  28 class_28                    25
INFO:yolo:  29 class_29                     1
INFO:yolo:  32 class_32                     2
INFO:yolo:  47 class_47                     1
INFO:yolo:  53 class_53                     2
INFO:yolo:  54 class_54                    20
INFO:yolo:  59 class_59                     4
INFO:yolo:  60 class_60                    50
INFO:yolo:  61 class_61                    24
INFO:yolo:  63 class_63                    38
INFO:yolo:  64 class_64                    12
INFO:yolo:  65 class_65                     8
INFO:yolo:  66 class_66                     1
INFO:yolo:  71 class_71                     5
INFO:yolo:  72 class_72                    13
INFO:yolo:  73 class_73                  4675
INFO:yolo:  76 class_76                    12
INFO:yolo:  77 class_77                    32
INFO:yolo:  79 class_79                    46
INFO:yolo:  82 class_82                     4
INFO:yolo:  83 class_83                    51
INFO:yolo:  84 class_84                     8
INFO:yolo:  86 class_86                    24
INFO:yolo:  89 class_89                     4
INFO:yolo:  93 Pylon                      170
INFO:yolo:Generating training_list.txt
@jw3 jw3 added the bug Something isn't working label May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant