This repository was archived by the owner on Mar 1, 2023. It is now read-only.
Commit a77f5e1
committed
dnn: dump used convolution layers
1)
```
./bin/opencv_perf_dnn --gtest_filter=*Net*:-*OpenPose*:*.SSD*:*YOLOv3*:*eccv*:*EAST* --gtest_param_filter=*CPU* --perf_min_samples=1 --perf_force_samples=1 | tee conv.log
```
2)
```
grep '^CONV' conv.log | sed 's/CONV: / /g' | sort -gr | uniq -c \
| awk '{ { printf "%s %s %s %.3f x %s = %.3f %s ", $1*$4, $2, $3, $4*0.000000001, $1, $1*$4*0.000000001, $5 }; for(i=6;i<=NF;i++){printf "%s ", $i}; printf "\n" }' \
| sort -gr | sed -e 's/^[0-9.]* / /g' | sed 's/ $//g' \
| grep ', {{1, '
```1 parent 6500700 commit a77f5e1
1 file changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
106 | 130 | | |
107 | 131 | | |
108 | 132 | | |
| |||
0 commit comments